tnintemann / rpms / boost

Forked from rpms/boost 3 years ago
Clone

Blame SOURCES/boost-1.50.0-fix-non-utf8-files.patch

5dffee
diff --git a/libs/units/example/autoprefixes.cpp b/libs/units/example/autoprefixes.cpp
5dffee
index 8b2bc43..d04f2fe 100644
5dffee
--- a/libs/units/example/autoprefixes.cpp
5dffee
+++ b/libs/units/example/autoprefixes.cpp
5dffee
@@ -67,7 +67,7 @@ struct thing_base_unit : boost::units::base_unit
5dffee
 struct euro_base_unit : boost::units::base_unit<euro_base_unit, boost::units::dimensionless_type, 5>
5dffee
 {
5dffee
   static const char* name() { return("EUR"); }
5dffee
-  static const char* symbol() { return("€"); }
5dffee
+  static const char* symbol() { return("€"); }
5dffee
 };
5dffee
 
5dffee
 int main()
5dffee
@@ -140,7 +140,7 @@ int main()
5dffee
 
5dffee
   quantity<euro_base_unit::unit_type> ce = 2048. * euro_base_unit::unit_type();
5dffee
   cout << name_format << engineering_prefix << ce << endl;  // 2.048 kiloEUR
5dffee
-  cout << symbol_format << engineering_prefix << ce << endl;  // 2.048 k€
5dffee
+  cout << symbol_format << engineering_prefix << ce << endl;  // 2.048 k€
5dffee
 
5dffee
 
5dffee
     return 0;