Skip to content

Commit

Permalink
Update date_time.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gammasoft71 authored Dec 10, 2023
1 parent 6fe7e0b commit 1062cd0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ namespace {
};

string string_printf(const char* fmt, ...) {
auto args = va_list {};
va_list args;
va_start(args, fmt);
auto formatted_string = string {vsnprintf(nullptr, 0, fmt, args), 0};
va_end(args);
Expand Down

0 comments on commit 1062cd0

Please sign in to comment.