From 3a33e128961e7ea4bd584639ba393d056bec3d23 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 10 Jul 2012 21:13:06 +0000 Subject: Add deleted copy constructors/assignment operators where appropriate. Replace C++98 style private copy constructors/assignment ops with ones annotated with delete. --- src/engine/dyn_engine/dyn_engine.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/engine') 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(); } -- cgit v1.2.3