mirror of
https://github.com/oatpp/oatpp.git
synced 2025-04-18 19:00:23 +08:00
Fix compiler warning C4244
This commit is contained in:
parent
39c86ebbd1
commit
d3a2df72d8
@ -70,7 +70,7 @@ public:
|
||||
String() {}
|
||||
|
||||
explicit String(v_buff_size size)
|
||||
: type::ObjectWrapper<std::string, __class::String>(std::make_shared<std::string>(size, 0))
|
||||
: type::ObjectWrapper<std::string, __class::String>(std::make_shared<std::string>(size, '\0'))
|
||||
{}
|
||||
|
||||
String(const char* data, v_buff_size size)
|
||||
|
Loading…
x
Reference in New Issue
Block a user