make them const
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
otk/messagedialog.hh
→
otk/messagedialog.hh
@@ -23,8 +23,8 @@ {}
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 {