summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Loer <chris.loer@mapbox.com>2018-08-08 07:53:01 -0700
committerJulian Rex <julian.rex@gmail.com>2018-08-08 10:53:01 -0400
commit4291688b864e17e7637634db423c624c52e49fa2 (patch)
treec9da1f2d6c9e60f41ea1fc5f0a7ce456c151b0f6 /src
parent3952ff5c343844d76f75ede0afc8ddad55748a0d (diff)
downloadqtlocation-mapboxgl-4291688b864e17e7637634db423c624c52e49fa2.tar.gz
[core] Use correct Log::record overload. (#12571)
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/util/logging.cpp2
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, ...) {