Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-05-26 18:21:45


Author: steven_watanabe
Date: 2008-05-26 18:21:44 EDT (Mon, 26 May 2008)
New Revision: 45794
URL: http://svn.boost.org/trac/boost/changeset/45794

Log:
Removed unneeded #include
Text files modified:
   sandbox/units/boost/units/base_units/us/pint.hpp | 4 ++--
   sandbox/units/boost/units/systems/cgs/base.hpp | 1 -
   sandbox/units/boost/units/systems/si/base.hpp | 1 -
   sandbox/units/libs/units/test/test_dimensionless_ice1.cpp | 1 +
   sandbox/units/libs/units/test/test_dimensionless_ice2.cpp | 1 +
   sandbox/units/libs/units/test/test_scaled_unit.cpp | 2 ++
   6 files changed, 6 insertions(+), 4 deletions(-)

Modified: sandbox/units/boost/units/base_units/us/pint.hpp
==============================================================================
--- sandbox/units/boost/units/base_units/us/pint.hpp (original)
+++ sandbox/units/boost/units/base_units/us/pint.hpp 2008-05-26 18:21:44 EDT (Mon, 26 May 2008)
@@ -11,9 +11,9 @@
 #ifndef BOOST_UNITS_BASE_UNITS_US_PINT_HPP_INCLUDED
 #define BOOST_UNITS_BASE_UNITS_US_PINT_HPP_INCLUDED
 
-#include <string>
-
+#include <boost/units/config.hpp>
 #include <boost/units/systems/si/volume.hpp>
+#include <boost/units/conversion.hpp>
 
 BOOST_UNITS_DEFINE_BASE_UNIT_WITH_CONVERSIONS(us, pint, "pint (U.S.)", "pt", 0.4731765e-3, si::volume, -503);
 

Modified: sandbox/units/boost/units/systems/cgs/base.hpp
==============================================================================
--- sandbox/units/boost/units/systems/cgs/base.hpp (original)
+++ sandbox/units/boost/units/systems/cgs/base.hpp 2008-05-26 18:21:44 EDT (Mon, 26 May 2008)
@@ -13,7 +13,6 @@
 
 #include <string>
 
-#include <boost/units/io.hpp>
 #include <boost/units/static_constant.hpp>
 #include <boost/units/unit.hpp>
 #include <boost/units/make_system.hpp>

Modified: sandbox/units/boost/units/systems/si/base.hpp
==============================================================================
--- sandbox/units/boost/units/systems/si/base.hpp (original)
+++ sandbox/units/boost/units/systems/si/base.hpp 2008-05-26 18:21:44 EDT (Mon, 26 May 2008)
@@ -13,7 +13,6 @@
 
 #include <string>
 
-#include <boost/units/io.hpp>
 #include <boost/units/static_constant.hpp>
 #include <boost/units/unit.hpp>
 #include <boost/units/make_system.hpp>

Modified: sandbox/units/libs/units/test/test_dimensionless_ice1.cpp
==============================================================================
--- sandbox/units/libs/units/test/test_dimensionless_ice1.cpp (original)
+++ sandbox/units/libs/units/test/test_dimensionless_ice1.cpp 2008-05-26 18:21:44 EDT (Mon, 26 May 2008)
@@ -9,6 +9,7 @@
 // http://www.boost.org/LICENSE_1_0.txt)
 
 #include <boost/units/systems/si/base.hpp>
+#include <boost/units/quantity.hpp>
 
 void foo()
 {

Modified: sandbox/units/libs/units/test/test_dimensionless_ice2.cpp
==============================================================================
--- sandbox/units/libs/units/test/test_dimensionless_ice2.cpp (original)
+++ sandbox/units/libs/units/test/test_dimensionless_ice2.cpp 2008-05-26 18:21:44 EDT (Mon, 26 May 2008)
@@ -10,6 +10,7 @@
 
 #include <boost/units/systems/si/length.hpp>
 #include <boost/units/systems/cgs/length.hpp>
+#include <boost/units/quantity.hpp>
 
 void foo()
 {

Modified: sandbox/units/libs/units/test/test_scaled_unit.cpp
==============================================================================
--- sandbox/units/libs/units/test/test_scaled_unit.cpp (original)
+++ sandbox/units/libs/units/test/test_scaled_unit.cpp 2008-05-26 18:21:44 EDT (Mon, 26 May 2008)
@@ -25,6 +25,8 @@
 
 #include <boost/units/systems/si/prefixes.hpp>
 #include <boost/units/systems/si/time.hpp>
+#include <boost/units/quantity.hpp>
+#include <boost/units/io.hpp>
 
 #include <sstream>
 


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