Skip to content

Commit 5586874

Browse files
authored
Make MsgBuffer constructor explicit. (#209)
1 parent 16fb3f9 commit 5586874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/utils/MsgBuffer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class TRANTOR_EXPORT MsgBuffer
4343
*
4444
* @param len The initial size of the buffer.
4545
*/
46-
MsgBuffer(size_t len = kBufferDefaultLength);
46+
explicit MsgBuffer(size_t len = kBufferDefaultLength);
4747

4848
/**
4949
* @brief Get the beginning of the buffer.

0 commit comments

Comments
 (0)