]> Dogcows Code - chaz/openbox/blobdiff - otk/messagedialog.hh
make them const
[chaz/openbox] / otk / messagedialog.hh
index 4a152bd46b152998bb73f0f5a0c6dc1702c23c7f..bc8cea5ee241b15b4c6aaf3d0789f57989afa9dd 100644 (file)
@@ -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 {
This page took 0.019666 seconds and 4 git commands to generate.