mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-02 19:47:55 +00:00
Changed int to size_t
This commit is contained in:
@@ -771,7 +771,7 @@ void BufferedProducer<BufferType, Allocator>::clear() {
|
|||||||
|
|
||||||
template <typename BufferType, typename Allocator>
|
template <typename BufferType, typename Allocator>
|
||||||
size_t BufferedProducer<BufferType, Allocator>::get_buffer_size() const {
|
size_t BufferedProducer<BufferType, Allocator>::get_buffer_size() const {
|
||||||
int size = 0;
|
size_t size = 0;
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock(mutex_);
|
std::lock_guard<std::mutex> lock(mutex_);
|
||||||
size += messages_.size();
|
size += messages_.size();
|
||||||
|
|||||||
Reference in New Issue
Block a user