Commit 62bdc048 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix constness in KisLocklessStack

parent b3c150e2
......@@ -168,11 +168,11 @@ public:
* in highly concurrent environment. So we return approximate
* value! Do not rely on this value much!
*/
qint32 size() {
qint32 size() const {
return m_numNodes;
}
bool isEmpty() {
bool isEmpty() const {
return !m_numNodes;
}
......
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