aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_shun.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-07-12 14:41:52 +0100
committerGravatar Peter Powell2017-07-12 14:41:52 +0100
commitd1df2bce56275e1297d94d82d4dbef6f6cf582b6 (patch)
tree3b968cb8a2b3b90b74ae0633e2a4a7fa04782d8e /src/modules/m_shun.cpp
parentMerge pull request #1337 from SaberUK/master+merge (diff)
downloadinspircd++-d1df2bce56275e1297d94d82d4dbef6f6cf582b6.tar.gz
inspircd++-d1df2bce56275e1297d94d82d4dbef6f6cf582b6.tar.bz2
inspircd++-d1df2bce56275e1297d94d82d4dbef6f6cf582b6.zip
Add CXX11_OVERRIDE to overridden members that lack it.
This fixes a ton of warnings when building on compilers that default to C++11 or newer.
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index 022726524..28faf898b 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -191,7 +191,7 @@ class ModuleShun : public Module
ServerInstance->XLines->UnregisterFactory(&f);
}
- void Prioritize()
+ void Prioritize() CXX11_OVERRIDE
{
Module* alias = ServerInstance->Modules->Find("m_alias.so");
ServerInstance->Modules->SetPriority(this, I_OnPreCommand, PRIORITY_BEFORE, alias);