diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2009-03-04 09:27:52 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2009-03-04 09:27:52 +0000 |
commit | 15b0c807eb736f7f3800a514fc9a099466654ab9 (patch) | |
tree | daab854b2a29bd8884224e9118cecebf04ca53c7 /adler32.h | |
parent | d73287b2b051540d487b5ac6f8aea342aa5b9678 (diff) | |
download | cryptopp-15b0c807eb736f7f3800a514fc9a099466654ab9.tar.gz |
fix compile on ICC 11
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@438 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'adler32.h')
-rw-r--r-- | adler32.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,7 +14,8 @@ public: void Update(const byte *input, size_t length); void TruncatedFinal(byte *hash, size_t size); unsigned int DigestSize() const {return DIGESTSIZE;} - std::string AlgorithmName() const {return "Adler32";} + static const char * StaticAlgorithmName() {return "Adler32";} + std::string AlgorithmName() const {return StaticAlgorithmName();} private: void Reset() {m_s1 = 1; m_s2 = 0;} |