use size_t instead of int for overrun counter

This commit is contained in:
Luiz Siqueira
2018-08-14 09:21:52 -03:00
parent 863f704f47
commit c543985cf4
4 changed files with 5 additions and 5 deletions

View File

@@ -54,7 +54,7 @@ public:
return ((tail_ + 1) % max_items_) == head_;
}
int overrun_counter() const
size_t overrun_counter() const
{
return overrun_counter_;
}
@@ -66,7 +66,7 @@ private:
std::vector<T> v_;
int overrun_counter_ = 0;
size_t overrun_counter_ = 0;
};
} // namespace details
} // namespace spdlog