From 1197b0d7d36a62fa1219f3225c8a65d349e26188 Mon Sep 17 00:00:00 2001 From: Hans-Christian Ebke Date: Tue, 12 May 2015 09:55:33 +0000 Subject: [PATCH] Fixing PropertyManager so that it cooperates with bool properties even on unforgiving implementations (such as clang). git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1265 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Core/Utils/PropertyManager.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenMesh/Core/Utils/PropertyManager.hh b/src/OpenMesh/Core/Utils/PropertyManager.hh index 54d7f41c..c9c91097 100644 --- a/src/OpenMesh/Core/Utils/PropertyManager.hh +++ b/src/OpenMesh/Core/Utils/PropertyManager.hh @@ -320,9 +320,9 @@ class PropertyManager { * @param end End iterator. (Exclusive.) * @param value The value the range will be set to. */ - template + template void set_range(HandleTypeIterator begin, HandleTypeIterator end, - typename PROPTYPE::const_reference value) { + const PROP_VALUE &value) { for (; begin != end; ++begin) (*this)[*begin] = value; }