Boost logo

Boost-Commit :

From: boost_at_[hidden]
Date: 2008-08-01 13:36:47


Author: matthiasschabel
Date: 2008-08-01 13:36:46 EDT (Fri, 01 Aug 2008)
New Revision: 47936
URL: http://svn.boost.org/trac/boost/changeset/47936

Log:
fix non-ASCII symbols for angstrom/micron/degree Fahrenheit
Text files modified:
   branches/release/boost/units/base_units/metric/angstrom.hpp | 2 +-
   branches/release/boost/units/base_units/metric/micron.hpp | 2 +-
   branches/release/boost/units/base_units/temperature/fahrenheit.hpp | 2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/boost/units/base_units/metric/angstrom.hpp
==============================================================================
--- branches/release/boost/units/base_units/metric/angstrom.hpp (original)
+++ branches/release/boost/units/base_units/metric/angstrom.hpp 2008-08-01 13:36:46 EDT (Fri, 01 Aug 2008)
@@ -28,7 +28,7 @@
 template<>
 struct base_unit_info<metric::angstrom_base_unit> {
     static const char* name() { return("angstrom"); }
- static const char* symbol() { return(""); }
+ static const char* symbol() { return("A"); }
 };
 
 }

Modified: branches/release/boost/units/base_units/metric/micron.hpp
==============================================================================
--- branches/release/boost/units/base_units/metric/micron.hpp (original)
+++ branches/release/boost/units/base_units/metric/micron.hpp 2008-08-01 13:36:46 EDT (Fri, 01 Aug 2008)
@@ -27,7 +27,7 @@
 template<>
 struct base_unit_info<metric::micron_base_unit> {
     static const char* name() { return("micron"); }
- static const char* symbol() { return("µ"); }
+ static const char* symbol() { return("u"); }
 };
 
 }

Modified: branches/release/boost/units/base_units/temperature/fahrenheit.hpp
==============================================================================
--- branches/release/boost/units/base_units/temperature/fahrenheit.hpp (original)
+++ branches/release/boost/units/base_units/temperature/fahrenheit.hpp 2008-08-01 13:36:46 EDT (Fri, 01 Aug 2008)
@@ -26,7 +26,7 @@
 struct fahrenheit_base_unit : public base_unit<fahrenheit_base_unit, temperature_dimension, -1007>
 {
     static std::string name() { return("fahrenheit"); }
- static std::string symbol() { return("°F"); }
+ static std::string symbol() { return("F"); }
 };
 
 } // namespace temperature


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