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