Fix: standardized the logfunc header inclusion.
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Mon, 2 Jul 2012 00:54:02 +0000 (21:54 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Mon, 2 Jul 2012 01:01:10 +0000 (22:01 -0300)
src/config/option/logleveloption.cpp
src/host/loglevel.cpp
src/host/loglevel.h
test/test_loglevel.cpp

index 0af4670..377bb4f 100644 (file)
@@ -24,7 +24,6 @@
 
 #include <logfunc.hpp>
 
-#include "logfunc.hpp"
 #include "host/loglevel.h"
 
 using namespace std;
index fa27ef1..52982d2 100644 (file)
@@ -28,6 +28,10 @@ on this file might be covered by the GNU General Public License.
 using namespace std;
 using I2n::Logger::LogLevel;
 
+//-----------------------------------------------------------------------------
+// LogLevel
+//-----------------------------------------------------------------------------
+
 static map<string, LogLevel> log_level_string_map;
 
 LogLevel get_log_level_from_string( const string & log_level_string )
index 83a9434..903cef3 100644 (file)
 
 #include <string>
 
-#include "logfunc.hpp"
+#include <logfunc.hpp>
+
+//-----------------------------------------------------------------------------
+// LogLevel
+//-----------------------------------------------------------------------------
 
 I2n::Logger::LogLevel get_log_level_from_string( const std::string & log_level_string );
 
index 3ec5f1f..00dc1e4 100644 (file)
@@ -23,7 +23,8 @@ on this file might be covered by the GNU General Public License.
 
 #include <boost/test/unit_test.hpp>
 
-#include "logfunc.hpp"
+#include <logfunc.hpp>
+
 #include "host/loglevel.h"
 
 using I2n::Logger::LogLevel;