diff options
author | Julian Rex <julian.rex@gmail.com> | 2018-08-08 11:50:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 11:50:50 -0400 |
commit | 3035889899079c0eda61083cb6236cf3bb293193 (patch) | |
tree | f6a48dd5b53a07042c385eb325509ce228e29868 | |
parent | ff70d13e8234dcb124bf597eaf38e6bf86888e94 (diff) | |
download | qtlocation-mapboxgl-3035889899079c0eda61083cb6236cf3bb293193.tar.gz |
[core] Use correct Log::record overload. (#12571) (#12577)
-rw-r--r-- | src/mbgl/util/logging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/util/logging.cpp b/src/mbgl/util/logging.cpp index d322bd3670..fd3f14825d 100644 --- a/src/mbgl/util/logging.cpp +++ b/src/mbgl/util/logging.cpp @@ -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, ...) { |