From: Dana Jansens Date: Sun, 16 Feb 2003 16:37:02 +0000 (+0000) Subject: make them const X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=5cd8680f7444237773cec849fd0cf8a2e6b2e9c3;p=chaz%2Fopenbox make them const --- diff --git a/otk/messagedialog.hh b/otk/messagedialog.hh index 4a152bd4..bc8cea5e 100644 --- a/otk/messagedialog.hh +++ b/otk/messagedialog.hh @@ -23,8 +23,8 @@ public: inline const ustring& label() const { return _label; } inline const bool& isDefault() const { return _default; } - bool operator==(const DialogButton &o) { return _label == o._label; } - bool operator!=(const DialogButton &o) { return !(_label == o._label); } + bool operator==(const DialogButton &o) const { return _label == o._label; } + bool operator!=(const DialogButton &o) const { return!(_label == o._label); } }; class MessageDialog : public Widget {