From 03cf88211eea89b6a49f95a4f14c5cb2a9d3a41a Mon Sep 17 00:00:00 2001 From: Mathieu Lacage Date: Sun, 12 Aug 2007 17:59:56 +0200 Subject: [PATCH] constify --- src/core/callback.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {