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
This commit is contained in:
Hans-Christian Ebke
2012-09-11 18:16:04 +00:00
parent 1d29252126
commit f8632ce3a0

View File

@@ -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;
} }
/** /**