From c15f428cef737e093cafa78f806c6ffc0ccee60c Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 16 Feb 2008 14:34:53 +0000 Subject: minor changes code cleanups --- cypherFactory.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'cypherFactory.h') diff --git a/cypherFactory.h b/cypherFactory.h index f245301..002d741 100644 --- a/cypherFactory.h +++ b/cypherFactory.h @@ -39,10 +39,13 @@ class CypherFactory { public: - CypherFactory() {}; - ~CypherFactory() {}; + static Cypher* create(std::string const& type); - Cypher* create(std::string const& type); +private: + CypherFactory(); + CypherFactory(const CypherFactory& src); + void operator=(const CypherFactory& src); + ~CypherFactory(); }; #endif -- cgit v1.2.3