mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 11:07:56 +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>
|
||||
size_t BufferedProducer<BufferType, Allocator>::get_buffer_size() const {
|
||||
int size = 0;
|
||||
size_t size = 0;
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(mutex_);
|
||||
size += messages_.size();
|
||||
|
||||
Reference in New Issue
Block a user