Minor fix to size pointer in TSLQueue iterator
Prevent pointer change errors by making the pointer itself const.
This commit is contained in:
parent
a5873624aa
commit
742db465dd
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ class TSLQueue {
|
||||||
private:
|
private:
|
||||||
std::lock_guard<std::mutex> lock;
|
std::lock_guard<std::mutex> lock;
|
||||||
std::weak_ptr<TSLQNode> currentNode;
|
std::weak_ptr<TSLQNode> currentNode;
|
||||||
unsigned long long *msize;
|
unsigned long long *const msize;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue