From e8b5529320abba0051e878389d043ee4b6f44592 Mon Sep 17 00:00:00 2001 From: Max Lyon Date: Tue, 2 Mar 2021 12:11:04 +0100 Subject: [PATCH] fix a warning --- src/OpenMesh/Core/Utils/PropertyManager.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMesh/Core/Utils/PropertyManager.hh b/src/OpenMesh/Core/Utils/PropertyManager.hh index 7456b997..aa843245 100644 --- a/src/OpenMesh/Core/Utils/PropertyManager.hh +++ b/src/OpenMesh/Core/Utils/PropertyManager.hh @@ -207,7 +207,7 @@ class PropertyManager { * * @param mesh The mesh on which to create the property. */ - PropertyManager(const PolyConnectivity& mesh) : mesh_(mesh), retain_(false), name_("") { + explicit PropertyManager(const PolyConnectivity& mesh) : mesh_(mesh), retain_(false), name_("") { PropertyManager::mesh().add_property(prop_, name_); }