Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65247 - trunk/libs/spirit/optimization
From: hartmut.kaiser_at_[hidden]
Date: 2010-09-04 09:01:52


Author: hkaiser
Date: 2010-09-04 09:01:51 EDT (Sat, 04 Sep 2010)
New Revision: 65247
URL: http://svn.boost.org/trac/boost/changeset/65247

Log:
Spirit: moved #include's out of conditional blocks
Text files modified:
   trunk/libs/spirit/optimization/high_resolution_timer.hpp | 6 ++----
   1 files changed, 2 insertions(+), 4 deletions(-)

Modified: trunk/libs/spirit/optimization/high_resolution_timer.hpp
==============================================================================
--- trunk/libs/spirit/optimization/high_resolution_timer.hpp (original)
+++ trunk/libs/spirit/optimization/high_resolution_timer.hpp 2010-09-04 09:01:51 EDT (Sat, 04 Sep 2010)
@@ -14,11 +14,11 @@
 #include <unistd.h>
 #endif
 #include <time.h>
+#include <stdexcept>
+#include <limits>
 
 #if defined(BOOST_WINDOWS)
 
-#include <stdexcept>
-#include <limits>
 #include <windows.h>
 
 namespace util
@@ -304,8 +304,6 @@
 
 // For platforms that do not support _POSIX_TIMERS but do have
 // GETTIMEOFDAY, which is still preferable to std::clock()
-#include <stdexcept>
-#include <limits>
 #include <sys/time.h>
 
 namespace util


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk