From cb6ee39a05f6903a0ef521c81e6f42d05289b1a1 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 16 Apr 2016 13:59:20 +0300 Subject: [PATCH] Fix some inline qualifiers --- source/md5.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/md5.cpp b/source/md5.cpp index 1fe7003..94e6ba9 100644 --- a/source/md5.cpp +++ b/source/md5.cpp @@ -10,28 +10,28 @@ namespace Crypto { namespace { template -inline UInt32 func(UInt32, UInt32, UInt32); +UInt32 func(UInt32, UInt32, UInt32); template<> -UInt32 func<1>(UInt32 x, UInt32 y, UInt32 z) +inline UInt32 func<1>(UInt32 x, UInt32 y, UInt32 z) { return (y&x) | (z&~x); } template<> -UInt32 func<2>(UInt32 x, UInt32 y, UInt32 z) +inline UInt32 func<2>(UInt32 x, UInt32 y, UInt32 z) { return (x&z) | (y&~z); } template<> -UInt32 func<3>(UInt32 x, UInt32 y, UInt32 z) +inline UInt32 func<3>(UInt32 x, UInt32 y, UInt32 z) { return x^y^z; } template<> -UInt32 func<4>(UInt32 x, UInt32 y, UInt32 z) +inline UInt32 func<4>(UInt32 x, UInt32 y, UInt32 z) { return y^(x|~z); } -- 2.45.2