all repos — openbox @ 5cd8680f7444237773cec849fd0cf8a2e6b2e9c3

openbox fork - make it a bit more like ryudo

make them const
Dana Jansens danakj@orodu.net
commit

5cd8680f7444237773cec849fd0cf8a2e6b2e9c3

parent

dfe7f46bb735c8074e7d79ca64de249dd7a8de6a

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M otk/messagedialog.hhotk/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 {