Skip to content
Snippets Groups Projects
Commit 80130b96 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #5998: removed "using namespace std" from logger

parent 76b1de5b
Branches
No related tags found
No related merge requests found
...@@ -29,11 +29,9 @@ ...@@ -29,11 +29,9 @@
*/ */
#include "logger.h" #include "logger.h"
#include <stdarg.h> #include <cstdarg>
#include <string> #include <string>
#include <stdio.h> #include <cstdio>
using namespace std;
namespace Logger namespace Logger
{ {
...@@ -43,6 +41,7 @@ bool debugMode = false; ...@@ -43,6 +41,7 @@ bool debugMode = false;
void log (const int level, const char* format, ...) void log (const int level, const char* format, ...)
{ {
using std::string;
if (!debugMode && level == LOG_DEBUG) if (!debugMode && level == LOG_DEBUG)
return; return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment