Name renamed to symbol in a derived_unit

This commit is contained in:
Mateusz Pusz committed 2019-10-15 11:47:36 +02:00
1 parent 98b78c9a2c
commit 7e31dfe37e
3 files changed
+38 -38

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ namespace units {
template<typename Unit, typename Rep>
std::ostream& operator<<(std::ostream& os, const quantity<Unit, Rep>& value)
{
return os << value.count() << Unit::name;
return os << value.count() << Unit::symbol;
}
}