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 {
11
11
struct : std::codecvt<char16_t , char , std::mbstate_t > {
12
12
} codecvt;
13
13
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 ' );
15
15
const char16_t *remaining_input = input.data ();
16
16
std::size_t produced_output = 0 ;
17
17
while (true ) {
@@ -32,7 +32,7 @@ namespace sqlite {
32
32
produced_output = used_output - result.data ();
33
33
result.resize (
34
34
result.size ()
35
- + std::max ((&input[input.size ()] - remaining_input) * 3 / 2 ,
35
+ + ( std::max) ((&input[input.size ()] - remaining_input) * 3 / 2 ,
36
36
std::ptrdiff_t (4 )));
37
37
}
38
38
}
You can’t perform that action at this time.
0 commit comments