Skip to content

Commit 46b24d8

Browse files
author
Vincent Thiery
committed
Fix initial value of m_batching. In case no batching was required, it is set to to true, which makes the metric finalize ungracefully.
1 parent d48c3a8 commit 46b24d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UDPSender.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class UDPSender final
104104
// @{
105105

106106
//! Shall the sender use batching?
107-
bool m_batching;
107+
bool m_batching{ false };
108108

109109
//! The batching size
110110
uint64_t m_batchsize;

0 commit comments

Comments
 (0)