FbTk/XrmDatabaseHelper.hh: operator== can be const.

Found with cppcheck.
This commit is contained in:
Ryan Pavlik 2011-11-02 13:33:40 -04:00 committed by Mathias Gumz
parent d70bdbe675
commit 85596c1ee2

View file

@ -69,7 +69,7 @@ public:
}
}
bool operator == (const XrmDatabase& database) { return m_database == database; }
bool operator == (const XrmDatabase& database) const { return m_database == database; }
XrmDatabase & operator*() { return m_database; }
private: