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 --- sha3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sha3.h') diff --git a/sha3.h b/sha3.h index e863b327..7a3a681b 100644 --- a/sha3.h +++ b/sha3.h @@ -36,7 +36,7 @@ public: SHA3(unsigned int digestSize) : m_digestSize(digestSize) {Restart();} unsigned int DigestSize() const {return m_digestSize;} std::string AlgorithmName() const {return "SHA3-" + IntToString(m_digestSize*8);} - CRYPTOPP_CONSTEXPR static const char* StaticAlgorithmName() { return "SHA3"; } + CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() { return "SHA3"; } unsigned int OptimalDataAlignment() const {return GetAlignmentOf();} void Update(const byte *input, size_t length); -- cgit v1.2.1