Skip to content

Commit

Permalink
fix: removing remnants of the custom string
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed May 7, 2024
1 parent f97c547 commit 96c8fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion draft/msgpack/include/adaptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ namespace msgpack
o.pack_double(static_cast<Value>(v).number());
else if (v.valueType() == ValueType::String)
{
String str = static_cast<Value>(v).string();
std::string str = static_cast<Value>(v).string();
o.pack_str(str.size());
o.pack_str_body(str.c_str(), str.size());
}
Expand Down

0 comments on commit 96c8fcc

Please sign in to comment.