Skip to content
Snippets Groups Projects
Commit 70b01075 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

use reset() instead of assignement from NULL to reset a shared_ptr, as...

use reset() instead of assignement from NULL to reset a shared_ptr, as apparently only very new compilers allow the latter

[[Imported from SVN: r6430]]
parent 9fdfba4a
Branches
Tags
No related merge requests found
......@@ -112,7 +112,7 @@
for (int i=0; i<int(mat_.size())-1; i++)
{
mat_[i] = NULL;
mat_[i].reset();
ignoreNodesHierarchy_[i] = NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment