Minor fix to size pointer in TSLQueue iterator

Prevent pointer change errors by making the pointer itself const.
This commit is contained in:
Stephen Seo 2019-11-06 13:34:37 +09:00
parent a5873624aa
commit 742db465dd

View file

@ -74,7 +74,7 @@ class TSLQueue {
private:
std::lock_guard<std::mutex> lock;
std::weak_ptr<TSLQNode> currentNode;
unsigned long long *msize;
unsigned long long *const msize;
};