Unverified Commit 6ab2f0e0 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Merge pull request #548 from Subenle/master

Declare variables as size_t rather than unsigned.
parents f70b2ef3 34a9f24d
...@@ -129,7 +129,7 @@ namespace spdlog ...@@ -129,7 +129,7 @@ namespace spdlog
bool is_empty() bool is_empty()
{ {
unsigned front, front1, back; size_t front, front1, back;
// try to take a consistent snapshot of front/tail. // try to take a consistent snapshot of front/tail.
do { do {
front = enqueue_pos_.load(std::memory_order_acquire); front = enqueue_pos_.load(std::memory_order_acquire);
......
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