diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-09-07 06:16:46 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-09-07 06:16:46 -0400 |
commit | c1556295e60e435883c6976aeaf1a2be6606c738 (patch) | |
tree | 3bc407f76bf4f371bb764bb4abaec1aa75a650a6 /md4.h | |
parent | 6e324c161f9fdb360cdf85efc6693e64ce8686bc (diff) | |
download | cryptopp-git-c1556295e60e435883c6976aeaf1a2be6606c738.tar.gz |
Add constexpr-ness to StaticAlgorithmName member function
Diffstat (limited to 'md4.h')
-rw-r--r-- | md4.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ class MD4 : public IteratedHashWithStaticTransform<word32, LittleEndian, 64, 16, public:
static void InitState(HashWordType *state);
static void Transform(word32 *digest, const word32 *data);
- static const char *StaticAlgorithmName() {return "MD4";}
+ CRYPTOPP_CONSTEXPR static const char *StaticAlgorithmName() {return "MD4";}
};
}
|