Commit 542ef61a authored by Dominik Charousset's avatar Dominik Charousset

added missing const qualifier

parent dbc17e5e
......@@ -65,7 +65,7 @@ class ref_counted : public memory_managed {
/**
* @brief Queries whether there is exactly one reference.
*/
inline bool unique() { return m_rc == 1; }
inline bool unique() const { return m_rc == 1; }
inline size_t get_reference_count() const { return m_rc; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment