Boost logo

Boost-Commit :

From: steven_watanabe_at_[hidden]
Date: 2007-05-31 14:33:41


Author: steven_watanabe
Date: 2007-05-31 14:33:40 EDT (Thu, 31 May 2007)
New Revision: 4384
URL: http://svn.boost.org/trac/boost/changeset/4384

Log:
Updated typedefs

Text files modified:
   sandbox/units/libs/units/test/test_absolute.cpp | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: sandbox/units/libs/units/test/test_absolute.cpp
==============================================================================
--- sandbox/units/libs/units/test/test_absolute.cpp (original)
+++ sandbox/units/libs/units/test/test_absolute.cpp 2007-05-31 14:33:40 EDT (Thu, 31 May 2007)
@@ -24,6 +24,7 @@
 #include <boost/units/quantity.hpp>
 #include <boost/units/absolute.hpp>
 #include <boost/units/unit.hpp>
+#include <boost/units/systems/derived_dimensions/temperature_derived_dimension.hpp>
 #include <boost/units/make_system.hpp>
 #include <boost/units/systems/base_units.hpp>
 
@@ -35,11 +36,11 @@
 
 namespace bu = boost::units;
 
-typedef bu::unit<bu::temperature_type,bu::make_system<bu::kelvin_tag>::type> kelvin_type;
+typedef bu::unit<bu::temperature_dimension,bu::make_system<bu::kelvin_tag>::type> kelvin_type;
 
-typedef bu::unit<bu::temperature_type,bu::make_system<bu::celsius_tag>::type> celsius_type;
+typedef bu::unit<bu::temperature_dimension,bu::make_system<bu::celsius_tag>::type> celsius_type;
 
-typedef bu::unit<bu::temperature_type,bu::make_system<bu::fahrenheit_tag>::type> fahrenheit_type;
+typedef bu::unit<bu::temperature_dimension,bu::make_system<bu::fahrenheit_tag>::type> fahrenheit_type;
 
 int test_main(int,char *[])
 {


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