Skip to content

Commit e5b60cb

Browse files
authored
Update tinyutf8.h
Fixed issue #63
1 parent cab426c commit e5b60cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/tinyutf8/tinyutf8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3401,7 +3401,7 @@ namespace tiny_utf8
34013401
std::basic_string<typename basic_string<V, D, A>::data_type> basic_string<V, D, A>::cpp_str_bom() const noexcept
34023402
{
34033403
// Create std::string
3404-
std::basic_string<data_type> result = std::string( size() + 3 , ' ' );
3404+
std::basic_string<data_type> result = std::basic_string<data_type>( size() + 3 , ' ' );
34053405
data_type* tmp_buffer = const_cast<data_type*>( result.data() );
34063406

34073407
// Write BOM

0 commit comments

Comments
 (0)