mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
Merge pull request #548 from Subenle/master
Declare variables as size_t rather than unsigned.
This commit is contained in:
commit
6ab2f0e099
@ -129,7 +129,7 @@ namespace spdlog
|
||||
|
||||
bool is_empty()
|
||||
{
|
||||
unsigned front, front1, back;
|
||||
size_t front, front1, back;
|
||||
// try to take a consistent snapshot of front/tail.
|
||||
do {
|
||||
front = enqueue_pos_.load(std::memory_order_acquire);
|
||||
|
Loading…
Reference in New Issue
Block a user