diff --git a/src/OpenMesh/Core/Utils/PropertyManager.hh b/src/OpenMesh/Core/Utils/PropertyManager.hh index fabb4118..0c79d4c6 100644 --- a/src/OpenMesh/Core/Utils/PropertyManager.hh +++ b/src/OpenMesh/Core/Utils/PropertyManager.hh @@ -818,11 +818,11 @@ PropertyManager makePropertyManagerFromNew(PolyConnectivity &mesh, con * @throws std::runtime_error if no property with the name \p propname of * matching type exists. */ -template +template OM_DEPRECATED("Use getProperty instead.") -PropertyManager makePropertyManagerFromExisting(PolyConnectivity &mesh, const char *propname) +PropertyManager makePropertyManagerFromExisting(PolyConnectivity &mesh, const char *propname) { - return PropertyManager(mesh, propname, true); + return PropertyManager(mesh, propname, true); } /** @relates PropertyManager @@ -833,11 +833,11 @@ PropertyManager makePropertyManagerFromExisting(PolyConnectivity &mesh * * Intended for creating or accessing persistent properties. */ -template +template OM_DEPRECATED("Use getOrMakeProperty instead.") -PropertyManager makePropertyManagerFromExistingOrNew(PolyConnectivity &mesh, const char *propname) +PropertyManager makePropertyManagerFromExistingOrNew(PolyConnectivity &mesh, const char *propname) { - return PropertyManager::createIfNotExists(mesh, propname); + return PropertyManager::createIfNotExists(mesh, propname); } /** @relates PropertyManager