From 657b633f51091a40ce8b1c7513d2b5a2731c9d46 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 29 Jul 2010 13:49:18 +0000 Subject: We've already predeclared Engine at the start of the header, so no reason to say `class Engine*` later on. --- src/algo_factory/algo_factory.h | 8 ++++---- 1 file 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 engines; + std::vector engines; Algorithm_Cache* block_cipher_cache; Algorithm_Cache* stream_cipher_cache; -- cgit v1.2.3