diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-03-11 17:19:16 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-03-12 14:19:32 +0200 |
commit | 124b49562ddfe951ad82243b56a859a46a58bd57 (patch) | |
tree | dbee0d9b9e6432401e033637eb80bc71fa05a42a /linux | |
parent | 2b6afe6a549284a862d0231653d2183d57a5b496 (diff) | |
download | qtlocation-mapboxgl-124b49562ddfe951ad82243b56a859a46a58bd57.tar.gz |
Get rid of printf and cout by using Log::*
Use our logging system that will route the message accordingly on
the target platform.
Fixes #613
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 6a2be43d7c..697941164a 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -17,7 +17,7 @@ GLFWView *view = nullptr; void quit_handler(int) { if (view) { - fprintf(stderr, "waiting for quit...\n"); + mbgl::Log::Info(mbgl::Event::Setup, "waiting for quit..."); glfwSetWindowShouldClose(view->window, true); glfwPostEmptyEvent(); } else { |