Merge pull request #548 from Subenle/master

Declare variables as size_t rather than unsigned.
pull/556/head
Gabi Melman 8 years ago committed by GitHub
commit 6ab2f0e099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);

Loading…
Cancel
Save