diff options
| author | 2019-01-25 02:52:11 +0000 | |
|---|---|---|
| committer | 2019-01-25 02:52:11 +0000 | |
| commit | c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 (patch) | |
| tree | 4d7b4e6135e4b8340698419a83bc29edec18a5ea /src/modules/m_sha1.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_sha1.cpp')
| -rw-r--r-- | src/modules/m_sha1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<const unsigned char*>(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); } |
