diff options
author | Adam <Adam@anope.org> | 2013-11-01 05:12:30 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-11-01 05:12:30 -0400 |
commit | 70e9b2027481273a4284b9f007e8592b016defe1 (patch) | |
tree | 3e77f0c69372f095c5a4a5660354a5ba6f5b2b93 /modules/commands/cs_access.cpp | |
parent | 4ee9021adbb10140c30d6027a97e4748cb2f5903 (diff) |
Fix release build, not too sure why this is, compiler seems to infer this as a copy of ChanAccess
Diffstat (limited to 'modules/commands/cs_access.cpp')
-rw-r--r-- | modules/commands/cs_access.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index 7a2d1a35b..9a6c0d886 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -49,7 +49,7 @@ class AccessChanAccess : public ChanAccess if (this->provider != other.provider) return ChanAccess::operator>(other); else - return this->level > anope_dynamic_static_cast<const AccessChanAccess &>(other).level; + return this->level > anope_dynamic_static_cast<const AccessChanAccess &, const ChanAccess &>(other).level; } bool operator<(const ChanAccess &other) const anope_override @@ -57,7 +57,7 @@ class AccessChanAccess : public ChanAccess if (this->provider != other.provider) return ChanAccess::operator<(other); else - return this->level < anope_dynamic_static_cast<const AccessChanAccess &>(other).level; + return this->level < anope_dynamic_static_cast<const AccessChanAccess &, const ChanAccess &>(other).level; } }; |