summaryrefslogtreecommitdiff
path: root/include/modules/cs_mode.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-20 19:46:13 -0400
committerAdam <Adam@anope.org>2013-07-20 19:46:13 -0400
commit9629ccb3745ed069ae906b7314638a5a0d9e2fa5 (patch)
tree7b97db96586f6fb0825fc7aed702753d4d8daed8 /include/modules/cs_mode.h
parentcb70d976ba3b500418264a0d1b891bae6e8216a2 (diff)
Fix more compile warnings found on newer g++ versions
Diffstat (limited to 'include/modules/cs_mode.h')
-rw-r--r--include/modules/cs_mode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/modules/cs_mode.h b/include/modules/cs_mode.h
index 6f1aeb643..8ef21ca10 100644
--- a/include/modules/cs_mode.h
+++ b/include/modules/cs_mode.h
@@ -27,6 +27,8 @@ struct ModeLocks
{
typedef std::vector<ModeLock *> ModeList;
+ virtual ~ModeLocks() { }
+
/** Check if a mode is mlocked
* @param mode The mode
* @param An optional param