Commit f8632ce3 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

OpenMesh/Core/Utils/PropertyManager: Added property to retain() method.

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@670 fdac6126-5c0c-442c-9429-916003d36597
parent 1d292521
...@@ -151,8 +151,8 @@ class PropertyManager { ...@@ -151,8 +151,8 @@ class PropertyManager {
* If this method is called, the encapsulated property will not be deleted * If this method is called, the encapsulated property will not be deleted
* upon destruction of the PropertyManager instance. * upon destruction of the PropertyManager instance.
*/ */
inline void retain() { inline void retain(bool doRetain = true) {
retain_ = true; retain_ = doRetain;
} }
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment