File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
hdr/sqlite_modern_cpp/utility Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ namespace sqlite {
1111 struct : std::codecvt<char16_t , char , std::mbstate_t > {
1212 } codecvt;
1313 std::mbstate_t state;
14- std::string result (std::max (input.size () * 3 / 2 , std::size_t (4 )), ' \0 ' );
14+ std::string result (( std::max) (input.size () * 3 / 2 , std::size_t (4 )), ' \0 ' );
1515 const char16_t *remaining_input = input.data ();
1616 std::size_t produced_output = 0 ;
1717 while (true ) {
@@ -32,7 +32,7 @@ namespace sqlite {
3232 produced_output = used_output - result.data ();
3333 result.resize (
3434 result.size ()
35- + std::max ((&input[input.size ()] - remaining_input) * 3 / 2 ,
35+ + ( std::max) ((&input[input.size ()] - remaining_input) * 3 / 2 ,
3636 std::ptrdiff_t (4 )));
3737 }
3838 }
You can’t perform that action at this time.
0 commit comments