summaryrefslogtreecommitdiff
path: root/blowfish.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-09-07 06:16:46 -0400
committerJeffrey Walton <noloader@gmail.com>2016-09-07 06:16:46 -0400
commitc1556295e60e435883c6976aeaf1a2be6606c738 (patch)
tree3bc407f76bf4f371bb764bb4abaec1aa75a650a6 /blowfish.h
parent6e324c161f9fdb360cdf85efc6693e64ce8686bc (diff)
downloadcryptopp-git-c1556295e60e435883c6976aeaf1a2be6606c738.tar.gz
Add constexpr-ness to StaticAlgorithmName member function
Diffstat (limited to 'blowfish.h')
-rw-r--r--blowfish.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/blowfish.h b/blowfish.h
index 41497a66..dc770c9e 100644
--- a/blowfish.h
+++ b/blowfish.h
@@ -15,7 +15,7 @@ NAMESPACE_BEGIN(CryptoPP)
//! \brief Blowfish block cipher information
struct Blowfish_Info : public FixedBlockSize<8>, public VariableKeyLength<16, 4, 56>, public FixedRounds<16>
{
- static const char *StaticAlgorithmName() {return "Blowfish";}
+ CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "Blowfish";}
};
// <a href="http://www.weidai.com/scan-mirror/cs.html#Blowfish">Blowfish</a>