diff options
Diffstat (limited to 'src/modules/m_monitor.cpp')
-rw-r--r-- | src/modules/m_monitor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_monitor.cpp b/src/modules/m_monitor.cpp index 38e7ccc3e..fd72c7320 100644 --- a/src/modules/m_monitor.cpp +++ b/src/modules/m_monitor.cpp @@ -79,7 +79,7 @@ class IRCv3::Monitor::Manager void unset(Extensible* container) { - free(unset_raw(container)); + free(container, unset_raw(container)); } std::string serialize(SerializeFormat format, const Extensible* container, void* item) const CXX11_OVERRIDE @@ -101,7 +101,7 @@ class IRCv3::Monitor::Manager void unserialize(SerializeFormat format, Extensible* container, const std::string& value) CXX11_OVERRIDE; - void free(void* item) CXX11_OVERRIDE + void free(Extensible* container, void* item) CXX11_OVERRIDE { delete static_cast<ExtData*>(item); } |