Commit db4bfbf3 authored by Jan Möbius's avatar Jan Möbius

Fix for c++11 call to pointer to member function of type 'VertexIter ()' drops...

Fix for c++11 call to pointer to member function of type 'VertexIter ()' drops 'const' qualifier (Thanks to Ronald Richter and Kenshi Takayama for the fix)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1021 fdac6126-5c0c-442c-9429-916003d36597
parent 5e6c4167
......@@ -349,7 +349,7 @@ public:
/// Const end iterator for faces
ConstFaceIter faces_end() const;
template<typename CONTAINER_TYPE, typename ITER_TYPE, ITER_TYPE (CONTAINER_TYPE::*begin_fn)(), ITER_TYPE (CONTAINER_TYPE::*end_fn)()>
template<typename CONTAINER_TYPE, typename ITER_TYPE, ITER_TYPE (CONTAINER_TYPE::*begin_fn)() const, ITER_TYPE (CONTAINER_TYPE::*end_fn)() const>
class EntityRange {
public:
EntityRange(CONTAINER_TYPE &container) : container_(container) {}
......
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