|
From: Steven W. <ste...@us...> - 2007-04-12 20:41:59
|
Update of /cvsroot/boost-sandbox/boost-sandbox/libs/units/test In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11489/boost-sandbox/libs/units/test Modified Files: test_header.hpp Log Message: Switched to BOOST_UNITS_REGISTER_BASE_DIMENSION Index: test_header.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/units/test/test_header.hpp,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- test_header.hpp 10 Apr 2007 23:13:05 -0000 1.5 +++ test_header.hpp 12 Apr 2007 20:41:49 -0000 1.6 @@ -36,9 +36,9 @@ namespace units { -typedef base_dimension<1> length_dim; -typedef base_dimension<2> mass_dim; -typedef base_dimension<3> time_dim; +BOOST_UNITS_REGISTER_BASE_DIMENSION(length_dim, 1); +BOOST_UNITS_REGISTER_BASE_DIMENSION(mass_dim, 2); +BOOST_UNITS_REGISTER_BASE_DIMENSION(time_dim, 3); typedef length_dim::type length_type; typedef mass_dim::type mass_type; |