diff --git a/src/core/callback.h b/src/core/callback.h index 94e58ca92..c5d3cf442 100644 --- a/src/core/callback.h +++ b/src/core/callback.h @@ -306,11 +306,11 @@ public: return (*(PeekImpl ())) (a1,a2,a3,a4,a5); } - bool IsEqual (CallbackBase const &other) { + bool IsEqual (CallbackBase const &other) const { return PeekImpl ()->IsEqual (other.PeekImpl ()); } - bool CheckType (CallbackBase const& other) { + bool CheckType (CallbackBase const& other) const { CallbackImplBase *otherBase = other.PeekImpl (); if (dynamic_cast *> (otherBase) != 0) {