aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_base/algo_base.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-11-04 01:57:10 +0000
committerlloyd <[email protected]>2010-11-04 01:57:10 +0000
commit51e9d52e4fcfcf486ee53af1a42c98e841bcfde0 (patch)
tree1fddcd1460aee741ffa19ec4298c265cee3200e4 /src/algo_base/algo_base.h
parent860c43c55492b82bf80611d12d9bafce73ad480b (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.h4
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); }
};
}