Skip to content

Commit

Permalink
update news details
Browse files Browse the repository at this point in the history
  • Loading branch information
bam241 committed Apr 27, 2020
1 parent c7e7a8c commit 3088944
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions news/PR-0671.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
**Added:** None

**Changed:**
- DagMC: change pointer class member into shared_ptr
- DagMC tests: change pointer class member into shared_ptr
- DagMC: updated pointer management to RAII ("Resource Allocation Is
Initialization") technique:
- MBI is now a shared_ptr unless passed as a raw pointer in the DagMC
constructor (can be returned as a shared_ptr if not provided as a raw
pointer)
- GTT is now a shared_ptr, and can only be returned as such
- GQT is now a uniq_ptr, (and can't be return - not change there)
- DagMC tests:
- DagMC instance is now a shared_ptr
- when used MBI instance is now a shared_ptr

**Deprecated:** None
**Deprecated:**
- DagMC: Deprecated constructor using a raw pointer for the MBI instance,
prefered way uses shared_ptr for MBI instance.

**Removed:** None

Expand Down

0 comments on commit 3088944

Please sign in to comment.