From c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 25 Jan 2019 02:52:11 +0000 Subject: Replace the override macro with the override keyword. --- src/modules/m_sha1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_sha1.cpp') diff --git a/src/modules/m_sha1.cpp b/src/modules/m_sha1.cpp index 561a7b6cb..5b0e92896 100644 --- a/src/modules/m_sha1.cpp +++ b/src/modules/m_sha1.cpp @@ -170,7 +170,7 @@ class SHA1HashProvider : public HashProvider { } - std::string GenerateRaw(const std::string& data) CXX11_OVERRIDE + std::string GenerateRaw(const std::string& data) override { SHA1Context ctx; ctx.Update(reinterpret_cast(data.data()), data.length()); @@ -190,7 +190,7 @@ class ModuleSHA1 : public Module big_endian = (htonl(1337) == 1337); } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Implements SHA-1 hashing", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91