diff options
author | Attila Molnar <attilamolnar@hush.com> | 2016-08-19 11:05:01 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2016-08-19 11:05:01 +0200 |
commit | 1e09b2cb1e2a5989163fff02cad5498ad151bd00 (patch) | |
tree | 574bd12004c218dd3c2f2824c8a009b957b42dd6 /src/modules | |
parent | 0ca1ff6b66537e9c739ca29f88db39f8bdaf6aa7 (diff) |
m_monitor Add inline keyword to IRCv3::Monitor::Manager::ExtItem::unserialize to fix static builds
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_monitor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_monitor.cpp b/src/modules/m_monitor.cpp index b2e06f191..c69732a73 100644 --- a/src/modules/m_monitor.cpp +++ b/src/modules/m_monitor.cpp @@ -245,7 +245,8 @@ class IRCv3::Monitor::Manager WatchedList emptywatchedlist; }; -void IRCv3::Monitor::Manager::ExtItem::unserialize(SerializeFormat format, Extensible* container, const std::string& value) +// inline is needed in static builds to support m_watch including the Manager code from this file +inline void IRCv3::Monitor::Manager::ExtItem::unserialize(SerializeFormat format, Extensible* container, const std::string& value) { if (format == FORMAT_NETWORK) return; |