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 --- idea.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'idea.h') diff --git a/idea.h b/idea.h index a2b50673..501308b2 100644 --- a/idea.h +++ b/idea.h @@ -15,7 +15,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief IDEA block cipher information struct IDEA_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public FixedRounds<8> { - static const char *StaticAlgorithmName() {return "IDEA";} + CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "IDEA";} }; //! \class IDEA -- cgit v1.2.1