From 51bc265db341f1d98b4fd46be80241771f854eb5 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Mon, 9 Mar 2015 16:15:18 +0200 Subject: Make the logging system static No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously). --- linux/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'linux') diff --git a/linux/main.cpp b/linux/main.cpp index 6688905ea9..6a2be43d7c 100644 --- a/linux/main.cpp +++ b/linux/main.cpp @@ -1,9 +1,9 @@ #include #include +#include #include #include #include -#include #include #include @@ -26,8 +26,6 @@ void quit_handler(int) { } int main(int argc, char *argv[]) { - mbgl::Log::Set(); - int fullscreen_flag = 0; std::string style; -- cgit v1.2.1