Skip to content

Commit e9eac32

Browse files
author
Dainis Jonitis
committed
Fix member initialization order
1 parent c61446b commit e9eac32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/msgpack/sbuffer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class sbuffer {
5656
sbuffer& operator=(const sbuffer&) = delete;
5757

5858
sbuffer(sbuffer&& other) :
59-
m_size(other.m_size), m_alloc(other.m_alloc), m_data(other.m_data)
59+
m_size(other.m_size), m_data(other.m_data), m_alloc(other.m_alloc)
6060
{
6161
other.m_size = other.m_alloc = 0;
6262
other.m_data = nullptr;

0 commit comments

Comments
 (0)