[core] fix logging so we don't use strings as a formatter
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user