diff options
Diffstat (limited to 'src/modules/m_sqlv2.h')
-rw-r--r-- | src/modules/m_sqlv2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sqlv2.h b/src/modules/m_sqlv2.h index 05079a8e6..7d1cb78f2 100644 --- a/src/modules/m_sqlv2.h +++ b/src/modules/m_sqlv2.h @@ -457,13 +457,13 @@ class SQLhost /** Overload operator== for two SQLhost objects for easy comparison. */ -bool operator== (const SQLhost& l, const SQLhost& r) +inline bool operator== (const SQLhost& l, const SQLhost& r) { return (l.id == r.id && l.host == r.host && l.port == r.port && l.name == r.name && l.user == r.user && l.pass == r.pass && l.ssl == r.ssl); } /** Overload operator!= for two SQLhost objects for easy comparison. */ -bool operator!= (const SQLhost& l, const SQLhost& r) +inline bool operator!= (const SQLhost& l, const SQLhost& r) { return (l.id != r.id || l.host != r.host || l.port != r.port || l.name != r.name || l.user != r.user || l.pass != r.pass || l.ssl != r.ssl); } |