Commit 4160fc42 authored by Max Lyon's avatar Max Lyon
Browse files

for better backwards compatibility add retain function which does nothing to property manager

parent 35c31dd4
......@@ -299,6 +299,15 @@ class PropertyManager {
const MeshT& getMesh() const { return dynamic_cast<MeshT&>(mesh_); }
/**
* @deprecated This method no longer has any effect. Instead, named properties are always retained, while unnamed ones are not
*
* Tells the PropertyManager whether lifetime should be managed or not.
*/
OM_DEPRECATED("retain no longer has any effect. Instead, named properties are always retained, while unnamed ones are not.")
void retain(bool = true) {}
/**
* Move constructor. Transfers ownership (delete responsibility).
*/
......
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