From 76b11b010c97d4fba5f6d5a48730191762413c9d Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 13 Nov 2016 11:50:34 -0500 Subject: Add CRYPTOPP_STATIC_CONSTEXPR macro --- adler32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adler32.h') diff --git a/adler32.h b/adler32.h index 3224ad99..e86650d0 100644 --- a/adler32.h +++ b/adler32.h @@ -20,7 +20,7 @@ public: void Update(const byte *input, size_t length); void TruncatedFinal(byte *hash, size_t size); unsigned int DigestSize() const {return DIGESTSIZE;} - CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "Adler32";} + CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "Adler32";} std::string AlgorithmName() const {return StaticAlgorithmName();} private: -- cgit v1.2.1