diff options
author | lloyd <[email protected]> | 2010-11-02 18:52:38 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-02 18:52:38 +0000 |
commit | 6f07da35714ed19149be572952eb5bc5584f7fc4 (patch) | |
tree | 5eeec50aa84a73a15b45b63ad7b7cff2bd0d3657 /src/algo_factory | |
parent | 66ff3ef44894c159c1c51cd282b550ea3826a007 (diff) |
Add a BOTAN_DEPRECATED macro which can provide compile-time
deprecation warnings (at least for GCC and VC++). Use in some places.
Diffstat (limited to 'src/algo_factory')
-rw-r--r-- | src/algo_factory/algo_factory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/algo_factory/algo_factory.h b/src/algo_factory/algo_factory.h index 1c865b470..10549d5d3 100644 --- a/src/algo_factory/algo_factory.h +++ b/src/algo_factory/algo_factory.h @@ -162,7 +162,7 @@ class BOTAN_DLL Algorithm_Factory /** * An iterator for the engines in this factory - * @deprecated + * @deprecated Avoid in new code */ class BOTAN_DLL Engine_Iterator { @@ -175,7 +175,8 @@ class BOTAN_DLL Algorithm_Factory /** * @param a an algorithm factory */ - Engine_Iterator(const Algorithm_Factory& a) : af(a) { n = 0; } + Engine_Iterator(const Algorithm_Factory& a) : + af(a) { n = 0; } private: const Algorithm_Factory& af; size_t n; |