summaryrefslogtreecommitdiff
path: root/3way.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 /3way.h
parent6e324c161f9fdb360cdf85efc6693e64ce8686bc (diff)
downloadcryptopp-git-c1556295e60e435883c6976aeaf1a2be6606c738.tar.gz
Add constexpr-ness to StaticAlgorithmName member function
Diffstat (limited to '3way.h')
-rw-r--r--3way.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/3way.h b/3way.h
index 16affa6c..19068350 100644
--- a/3way.h
+++ b/3way.h
@@ -16,7 +16,7 @@ NAMESPACE_BEGIN(CryptoPP)
//! \brief ThreeWay block cipher information
struct ThreeWay_Info : public FixedBlockSize<12>, public FixedKeyLength<12>, public VariableRounds<11>
{
- static const char *StaticAlgorithmName() {return "3-Way";}
+ CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "3-Way";}
};
//! \class ThreeWay