Commit 09190c7c authored by Hans-Christian Ebke's avatar Hans-Christian Ebke
Browse files

Fixed constness of EntityRange begin() and end() methods.

git-svn-id: fdac6126-5c0c-442c-9429-916003d36597
parent 9680df9f
......@@ -594,8 +594,8 @@ public:
class EntityRange {
EntityRange(CONTAINER_TYPE &container) : container_(container) {}
ITER_TYPE begin() { return (container_.*begin_fn)(); }
ITER_TYPE end() { return (container_.*end_fn)(); }
ITER_TYPE begin() const { return (container_.*begin_fn)(); }
ITER_TYPE end() const { return (container_.*end_fn)(); }
CONTAINER_TYPE &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