9947835362
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/boost#cdb89c50f8e1d0bce4f9e87121b5580d4e5a6bca
23 lines
962 B
Diff
23 lines
962 B
Diff
diff --git a/libs/units/example/autoprefixes.cpp b/libs/units/example/autoprefixes.cpp
|
||
index 8b2bc43..d04f2fe 100644
|
||
--- a/libs/units/example/autoprefixes.cpp
|
||
+++ b/libs/units/example/autoprefixes.cpp
|
||
@@ -67,7 +67,7 @@ struct thing_base_unit : boost::units::base_unit<thing_base_unit, boost::units::
|
||
struct euro_base_unit : boost::units::base_unit<euro_base_unit, boost::units::dimensionless_type, 5>
|
||
{
|
||
static constexpr const char* name() { return("EUR"); }
|
||
- static constexpr const char* symbol() { return("€"); }
|
||
+ static constexpr const char* symbol() { return("€"); }
|
||
};
|
||
|
||
int main()
|
||
@@ -140,7 +140,7 @@ int main()
|
||
|
||
quantity<euro_base_unit::unit_type> ce = 2048. * euro_base_unit::unit_type();
|
||
cout << name_format << engineering_prefix << ce << endl; // 2.048 kiloEUR
|
||
- cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k€
|
||
+ cout << symbol_format << engineering_prefix << ce << endl; // 2.048 k€
|
||
|
||
|
||
return 0;
|