Commit 1197b0d7 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Fixing PropertyManager so that it cooperates with bool properties even on...

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
parent 777f9783
......@@ -320,9 +320,9 @@ class PropertyManager {
* @param end End iterator. (Exclusive.)
* @param value The value the range will be set to.
*/
template<typename HandleTypeIterator>
template<typename HandleTypeIterator, typename PROP_VALUE>
void set_range(HandleTypeIterator begin, HandleTypeIterator end,
typename PROPTYPE::const_reference value) {
const PROP_VALUE &value) {
for (; begin != end; ++begin)
(*this)[*begin] = value;
}
......
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