diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-02-16 16:37:02 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-02-16 16:37:02 +0000 |
| commit | 5cd8680f7444237773cec849fd0cf8a2e6b2e9c3 (patch) | |
| tree | 9d3fccd36d572e00a65d2cff5e2ae12f91abbe30 /otk | |
| parent | dfe7f46bb735c8074e7d79ca64de249dd7a8de6a (diff) | |
make them const
Diffstat (limited to 'otk')
| -rw-r--r-- | otk/messagedialog.hh | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |
