Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] Use correct Log::record overload. (#12571) (#12577)
Browse files Browse the repository at this point in the history
  • Loading branch information
julianrex committed Aug 8, 2018
1 parent ff70d13 commit 3035889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mbgl/util/logging.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void Log::record(EventSeverity severity, Event event, const char* format, ...) {
vsnprintf(msg, sizeof(msg), format, args);
va_end(args);

record(severity, event, -1, msg);
record(severity, event, -1, std::string{ msg });
}

void Log::record(EventSeverity severity, Event event, int64_t code, const char* format, ...) {
Expand Down

0 comments on commit 3035889

Please sign in to comment.