diff options
author | Ryan Pavlik <rpavlik@iastate.edu> | 2011-11-02 17:33:40 (GMT) |
---|---|---|
committer | Mathias Gumz <akira at fluxbox dot org> | 2012-01-04 06:55:17 (GMT) |
commit | 85596c1ee215cd1c8ddff6118ef1bad130dde909 (patch) | |
tree | e7c184a359ba972bc99e70b27405e3cafe2bacef /src/FbTk | |
parent | d70bdbe6759ff47b76802aaa02ff8a0cdac20512 (diff) | |
download | fluxbox_paul-85596c1ee215cd1c8ddff6118ef1bad130dde909.zip fluxbox_paul-85596c1ee215cd1c8ddff6118ef1bad130dde909.tar.bz2 |
FbTk/XrmDatabaseHelper.hh: operator== can be const.
Found with cppcheck.
Diffstat (limited to 'src/FbTk')
-rw-r--r-- | src/FbTk/XrmDatabaseHelper.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/XrmDatabaseHelper.hh b/src/FbTk/XrmDatabaseHelper.hh index 35a16e0..d85e261 100644 --- a/src/FbTk/XrmDatabaseHelper.hh +++ b/src/FbTk/XrmDatabaseHelper.hh | |||
@@ -69,7 +69,7 @@ public: | |||
69 | } | 69 | } |
70 | } | 70 | } |
71 | 71 | ||
72 | bool operator == (const XrmDatabase& database) { return m_database == database; } | 72 | bool operator == (const XrmDatabase& database) const { return m_database == database; } |
73 | XrmDatabase & operator*() { return m_database; } | 73 | XrmDatabase & operator*() { return m_database; } |
74 | 74 | ||
75 | private: | 75 | private: |