mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
				synced 2025-10-31 18:47:48 +00:00 
			
		
		
		
	Remove valgrind warning
This commit is contained in:
		| @@ -206,13 +206,6 @@ public: | ||||
|      */ | ||||
|     ssize_t get_max_buffer_size() const; | ||||
|      | ||||
|     /** | ||||
|      * \brief Get the number of unsent messages in the buffer | ||||
|      * | ||||
|      * \return The number of messages | ||||
|      */ | ||||
|     size_t get_buffer_size() const; | ||||
|      | ||||
|     /** | ||||
|      * \brief Get the number of messages not yet acked by the broker | ||||
|      * | ||||
| @@ -515,7 +508,6 @@ void BufferedProducer<BufferType>::produce_message(const MessageType& message) { | ||||
| template <typename BufferType> | ||||
| Configuration BufferedProducer<BufferType>::prepare_configuration(Configuration config) { | ||||
|     using std::placeholders::_2; | ||||
|     delivery_report_callback_ = config.get_delivery_report_callback(); | ||||
|     auto callback = std::bind(&BufferedProducer<BufferType>::on_delivery_report, this, _2); | ||||
|     config.set_delivery_report_callback(std::move(callback)); | ||||
|     return config; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 accelerated
					accelerated