diff options
author | lloyd <[email protected]> | 2012-07-10 21:13:06 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2012-07-10 21:13:06 +0000 |
commit | 3a33e128961e7ea4bd584639ba393d056bec3d23 (patch) | |
tree | a1ad9cb2ca67541a90a61b0723c7040191484356 /src/engine | |
parent | 0e718e402cb58c5ccfe538dfe36962c73a223d3a (diff) |
Add deleted copy constructors/assignment operators where appropriate.
Replace C++98 style private copy constructors/assignment ops with ones
annotated with delete.
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/dyn_engine/dyn_engine.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/dyn_engine/dyn_engine.h b/src/engine/dyn_engine/dyn_engine.h index a73a58d8f..3251bc954 100644 --- a/src/engine/dyn_engine/dyn_engine.h +++ b/src/engine/dyn_engine/dyn_engine.h @@ -24,6 +24,10 @@ class BOTAN_DLL Dynamically_Loaded_Engine : public Engine */ Dynamically_Loaded_Engine(const std::string& lib_path); + Dynamically_Loaded_Engine(const Dynamically_Loaded_Engine&) = delete; + + Dynamically_Loaded_Engine& operator=(const Dynamically_Loaded_Engine&) = delete; + ~Dynamically_Loaded_Engine(); std::string provider_name() const { return engine->provider_name(); } |