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_sha256.cpp | |
| parent | Remove the DEPRECATED_METHOD macro. (diff) | |
| download | inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.gz inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.tar.bz2 inspircd++-c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8.zip | |
Replace the override macro with the override keyword.
Diffstat (limited to 'src/modules/m_sha256.cpp')
| -rw-r--r-- | src/modules/m_sha256.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sha256.cpp b/src/modules/m_sha256.cpp index e3ca22a2b..1243c6a13 100644 --- a/src/modules/m_sha256.cpp +++ b/src/modules/m_sha256.cpp @@ -38,7 +38,7 @@ class HashSHA256 : public HashProvider { public: - std::string GenerateRaw(const std::string& data) CXX11_OVERRIDE + std::string GenerateRaw(const std::string& data) override { unsigned char bytes[SHA256_DIGEST_SIZE]; sha256((unsigned char*)data.data(), data.length(), bytes); @@ -59,7 +59,7 @@ class ModuleSHA256 : public Module { } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Implements SHA-256 hashing", VF_VENDOR); } |
