Update of /cvsroot/boost-sandbox/boost-sandbox/libs/units/example
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12892/boost-sandbox/libs/units/example
Modified Files:
unit_example_16.cpp
Log Message:
Replaced trival_reverse_conversion with trivial_conversion, define_reverse_automatically
Index: unit_example_16.cpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/libs/units/example/unit_example_16.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- unit_example_16.cpp 29 Mar 2007 16:48:14 -0000 1.2
+++ unit_example_16.cpp 29 Mar 2007 19:44:05 -0000 1.3
@@ -73,7 +73,7 @@
// helper for conversions between nautical length and SI length
template<>
struct base_unit_converter<length_tag,nautical::system_tag,SI::system_tag> :
- public trivial_inverse_conversion
+ public trivial_conversion, define_reverse_automatically
{
typedef double type;
static type value() { return 1.852e3; }
|