diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-10-02 15:55:21 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-11-06 10:16:52 +0100 |
commit | 69564cc886f37cf3f97145d199bd0bbca8b16523 (patch) | |
tree | c0796eedf7cb60aac03c8cffa394882840b97b9f /linux | |
parent | bbf16b2b1dc3692298b3b33d5afaa72cab7e120d (diff) | |
download | qtlocation-mapboxgl-69564cc886f37cf3f97145d199bd0bbca8b16523.tar.gz |
[core] fix logging so we don't use strings as a formatter
Diffstat (limited to 'linux')
-rw-r--r-- | linux/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/main.cpp b/linux/main.cpp index 81bb684650..4bc45041d1 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -139,7 +139,7 @@ int main(int argc, char *argv[]) { map.setStyleURL(newStyle.url); view->setWindowTitle(newStyle.name); - mbgl::Log::Info(mbgl::Event::Setup, std::string("Changed style to: ") + newStyle.name); + mbgl::Log::Info(mbgl::Event::Setup, "Changed style to: %s", newStyle.name); }); // Load style |