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 --- shark.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shark.h') diff --git a/shark.h b/shark.h index bf413c92..dbb79a6d 100644 --- a/shark.h +++ b/shark.h @@ -16,7 +16,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief SHARK block cipher information struct SHARK_Info : public FixedBlockSize<8>, public FixedKeyLength<16>, public VariableRounds<6, 2> { - static const char *StaticAlgorithmName() {return "SHARK-E";} + CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "SHARK-E";} }; //! \class SHARK -- cgit v1.2.1