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 --- rc6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc6.h') diff --git a/rc6.h b/rc6.h index 9ac55d80..5b84a0bd 100644 --- a/rc6.h +++ b/rc6.h @@ -15,7 +15,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief RC6 block cipher information struct RC6_Info : public FixedBlockSize<16>, public VariableKeyLength<16, 16, 32, 8>, public VariableRounds<20> { - static const char *StaticAlgorithmName() {return "RC6";} + CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "RC6";} typedef word32 RC6_WORD; }; -- cgit v1.2.1