summaryrefslogtreecommitdiffstats
path: root/src/Common/UserManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/UserManager.h')
-rw-r--r--src/Common/UserManager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Common/UserManager.h b/src/Common/UserManager.h
index 1ba051f..c545f01 100644
--- a/src/Common/UserManager.h
+++ b/src/Common/UserManager.h
@@ -38,7 +38,7 @@ class Application;
class UserBackend;
class UserCache;
-class UserManager : boost::noncopyable {
+class UserManager : private boost::noncopyable {
private:
friend class Application;
@@ -48,11 +48,13 @@ class UserManager : boost::noncopyable {
typedef std::map<boost::shared_ptr<UserBackend>, boost::shared_ptr<UserBackend>, Compare> BackendMap;
+ Application *application;
+
BackendMap backends;
boost::shared_mutex mutex;
- UserManager() {}
+ UserManager(Application *application0) : application(application0) {}
public:
void registerBackend(boost::shared_ptr<UserBackend> backend) {