diff options
author | Adam <Adam@anope.org> | 2017-05-29 17:38:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-05-29 17:38:39 -0400 |
commit | ff81c9bab8e1eddf044d7cb5d06d44b4a43c95d8 (patch) | |
tree | bfed822d690999f2c4458a30a65c232210b1e9cc /modules/chanserv/xop.cpp | |
parent | 3f143633541a5361bf5b02b0d69b65447aea7b79 (diff) |
Fixup some compilation warnings
Diffstat (limited to 'modules/chanserv/xop.cpp')
-rw-r--r-- | modules/chanserv/xop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/chanserv/xop.cpp b/modules/chanserv/xop.cpp index 9373a042b..26de3ec41 100644 --- a/modules/chanserv/xop.cpp +++ b/modules/chanserv/xop.cpp @@ -40,7 +40,7 @@ class XOPChanAccessImpl : public XOPChanAccess public: using XOPChanAccess::XOPChanAccess; - const Anope::string &GetType() override; + const Anope::string GetType() override; void SetType(const Anope::string &) override; bool HasPriv(const Anope::string &priv) override @@ -109,7 +109,7 @@ class XOPChanAccessType : public ChanAccessType<XOPChanAccessImpl> } }; -const Anope::string &XOPChanAccessImpl::GetType() +const Anope::string XOPChanAccessImpl::GetType() { return Get(&XOPChanAccessType::type); } |