diff options
author | lloyd <[email protected]> | 2010-11-04 01:57:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-04 01:57:10 +0000 |
commit | 51e9d52e4fcfcf486ee53af1a42c98e841bcfde0 (patch) | |
tree | 1fddcd1460aee741ffa19ec4298c265cee3200e4 /src/algo_base/algo_base.h | |
parent | 860c43c55492b82bf80611d12d9bafce73ad480b (diff) |
Mass disable copy constructors and assignment on all algos until proven safe/useful
Diffstat (limited to 'src/algo_base/algo_base.h')
-rw-r--r-- | src/algo_base/algo_base.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/algo_base/algo_base.h b/src/algo_base/algo_base.h index 9b41caf8b..c27ea1809 100644 --- a/src/algo_base/algo_base.h +++ b/src/algo_base/algo_base.h @@ -35,7 +35,11 @@ class BOTAN_DLL Algorithm */ virtual std::string name() const = 0; + Algorithm() {} virtual ~Algorithm() {} + private: + Algorithm(const Algorithm&) {} + Algorithm& operator=(const Algorithm&) { return (*this); } }; } |