summaryrefslogtreecommitdiff
path: root/authAlgoFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'authAlgoFactory.h')
-rw-r--r--authAlgoFactory.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/authAlgoFactory.h b/authAlgoFactory.h
index 5949ca3..716e800 100644
--- a/authAlgoFactory.h
+++ b/authAlgoFactory.h
@@ -39,11 +39,13 @@
class AuthAlgoFactory
{
public:
- AuthAlgoFactory() {};
- ~AuthAlgoFactory() {};
-
- AuthAlgo* create(std::string const& type);
+ static AuthAlgo* create(std::string const& type);
+private:
+ AuthAlgoFactory();
+ AuthAlgoFactory(const AuthAlgoFactory& src);
+ void operator=(const AuthAlgoFactory& src);
+ ~AuthAlgoFactory();
};
#endif