-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #671 from bam241/shared_ptr
Change pointer to shared_ptr
- Loading branch information
Showing
10 changed files
with
104 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
**Added:** None | ||
|
||
**Changed:** | ||
- 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:** | ||
- DagMC: Deprecated constructor using a raw pointer for the MBI instance, | ||
prefered way uses shared_ptr for MBI instance. | ||
|
||
**Removed:** None | ||
|
||
**Fixed:** None | ||
|
||
**Security:** None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.