Commit 6c0f3d70 authored by Dominik Charousset's avatar Dominik Charousset

Merge pull request #623

parents 049c2f12 693f6525
...@@ -202,7 +202,7 @@ public: ...@@ -202,7 +202,7 @@ public:
// does not lock // does not lock
bool empty() const { bool empty() const {
// atomically compares first and last pointer without locks // atomically compares first and last pointer without locks
return head_ == tail_; return head_.load() == tail_.load();
} }
private: private:
......
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