We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0a65c44 + 93b944e commit c58a565Copy full SHA for c58a565
include/msgpack/v1/adaptor/ext.hpp
@@ -43,10 +43,10 @@ class ext {
43
return static_cast<int8_t>(m_data[0]);
44
}
45
const char* data() const {
46
- return &m_data[1];
+ return &m_data[0] + 1;
47
48
char* data() {
49
50
51
uint32_t size() const {
52
return static_cast<uint32_t>(m_data.size()) - 1;
0 commit comments