aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-07-29 13:49:18 +0000
committerlloyd <[email protected]>2010-07-29 13:49:18 +0000
commit657b633f51091a40ce8b1c7513d2b5a2731c9d46 (patch)
tree2ebf0a68bb478ac78e7a9f2194dfd1210dd97d10
parent7875d97cf2297230fe871ade61aa68a958512eb0 (diff)
We've already predeclared Engine at the start of the header, so no
reason to say `class Engine*` later on.
-rw-r--r--src/algo_factory/algo_factory.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/algo_factory/algo_factory.h b/src/algo_factory/algo_factory.h
index f7e85202b..fe046eac1 100644
--- a/src/algo_factory/algo_factory.h
+++ b/src/algo_factory/algo_factory.h
@@ -47,7 +47,7 @@ class BOTAN_DLL Algorithm_Factory
/**
* @param engine to add (Algorithm_Factory takes ownership)
*/
- void add_engine(class Engine* engine);
+ void add_engine(Engine* engine);
/**
* Clear out any cached objects
@@ -170,7 +170,7 @@ class BOTAN_DLL Algorithm_Factory
/**
* @return next engine in the sequence
*/
- class Engine* next() { return af.get_engine_n(n++); }
+ Engine* next() { return af.get_engine_n(n++); }
/**
* @param a an algorithm factory
@@ -183,9 +183,9 @@ class BOTAN_DLL Algorithm_Factory
friend class Engine_Iterator;
private:
- class Engine* get_engine_n(u32bit) const;
+ Engine* get_engine_n(u32bit) const;
- std::vector<class Engine*> engines;
+ std::vector<Engine*> engines;
Algorithm_Cache<BlockCipher>* block_cipher_cache;
Algorithm_Cache<StreamCipher>* stream_cipher_cache;