tnintemann / rpms / boost

Forked from rpms/boost 3 years ago
Clone

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

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