From 3173affa30fb2cfee52defd8e1fc61b4384be50c Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Fri, 18 Jan 2013 08:05:46 +0100 Subject: [PATCH] Changed sequence of includes and corrected a warning message. --- BaseLib/DateTools.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BaseLib/DateTools.cpp b/BaseLib/DateTools.cpp index 02e4e55aca1..37bf369e669 100644 --- a/BaseLib/DateTools.cpp +++ b/BaseLib/DateTools.cpp @@ -12,6 +12,8 @@ * */ +#include "DateTools.h" + #include <cmath> #include <cstdlib> #include <iostream> @@ -19,15 +21,13 @@ // ThirdParty/logog #include "logog/include/logog.hpp" -#include "DateTools.h" - namespace BaseLib { int date2int(int y, int m, int d) { if ( (y < 1000 || y > 9999) || (m < 1 || m > 12) || (d < 1 || d > 31) ) { - WARN("date2double(): Input not in expected range."); + WARN("date2int(): Input not in expected range."); return 0; } -- GitLab