diff options
Diffstat (limited to 'src/libstate/libstate.h')
-rw-r--r-- | src/libstate/libstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstate/libstate.h b/src/libstate/libstate.h index 91fd58dff..e9a08b74b 100644 --- a/src/libstate/libstate.h +++ b/src/libstate/libstate.h @@ -28,6 +28,9 @@ class BOTAN_DLL Library_State Library_State(); ~Library_State(); + Library_State(const Library_State&) = delete; + Library_State& operator=(const Library_State&) = delete; + void initialize(); Algorithm_Factory& algorithm_factory(); @@ -96,9 +99,6 @@ class BOTAN_DLL Library_State private: void load_default_config(); - Library_State(const Library_State&) {} - Library_State& operator=(const Library_State&) { return (*this); } - std::mutex config_lock; std::map<std::string, std::string> config; |