From 35a2ef10a23a9b668428c931f408a4a8154adbc9 Mon Sep 17 00:00:00 2001 From: Ralph Tandetzky Date: Thu, 1 Dec 2016 15:37:04 +0100 Subject: Fix: GCC warning "type qualifiers ignored on function return type". This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build. --- tiger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tiger.h') diff --git a/tiger.h b/tiger.h index 3e220bf3..aaca69a0 100644 --- a/tiger.h +++ b/tiger.h @@ -19,7 +19,7 @@ public: static void InitState(HashWordType *state); static void Transform(word64 *digest, const word64 *data); void TruncatedFinal(byte *hash, size_t size); - CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "Tiger";} + CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "Tiger";} protected: static const word64 table[4*256+3]; -- cgit v1.2.1