Browse Source

[trac997] Add a const

Michal 'vorner' Vaner 14 years ago
parent
commit
9652c9fd3f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/acl/acl.h

+ 1 - 1
src/lib/acl/acl.h

@@ -92,7 +92,7 @@ public:
      *     passed to the checks.
      */
     const Action& execute(const Context& context) const {
-        typename Entries::const_iterator end(entries_.end());
+        const typename Entries::const_iterator end(entries_.end());
         for (typename Entries::const_iterator i(entries_.begin()); i != end;
              ++i) {
             if (i->first->matches(context)) {