Switch to base class references.
[shibboleth/cpp-sp.git] / shibsp / impl / ChainingAccessControl.cpp
index 7642a0a..8b73906 100644 (file)
@@ -45,11 +45,11 @@ namespace shibsp {
         }\r
 \r
         Lockable* lock() {\r
-            for_each(m_ac.begin(), m_ac.end(), mem_fun<Lockable*,AccessControl>(&AccessControl::lock));\r
+            for_each(m_ac.begin(), m_ac.end(), mem_fun<Lockable*,Lockable>(&Lockable::lock));\r
             return this;\r
         }\r
         void unlock() {\r
-            for_each(m_ac.begin(), m_ac.end(), mem_fun<void,AccessControl>(&AccessControl::unlock));\r
+            for_each(m_ac.begin(), m_ac.end(), mem_fun<void,Lockable>(&Lockable::unlock));\r
         }\r
 \r
         aclresult_t authorized(const SPRequest& request, const Session* session) const;\r