From c1556295e60e435883c6976aeaf1a2be6606c738 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Wed, 7 Sep 2016 06:16:46 -0400 Subject: Add constexpr-ness to StaticAlgorithmName member function --- shacal2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shacal2.h') diff --git a/shacal2.h b/shacal2.h index 6d6ffa33..97167fb9 100644 --- a/shacal2.h +++ b/shacal2.h @@ -15,7 +15,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief SHACAL2 block cipher information struct SHACAL2_Info : public FixedBlockSize<32>, public VariableKeyLength<16, 16, 64> { - static const char *StaticAlgorithmName() {return "SHACAL-2";} + CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "SHACAL-2";} }; //! \class SHACAL2 -- cgit v1.2.1