small changes based on code review

This commit is contained in:
Oliver Schönrock authored and Mateusz Pusz committed 2019-12-28 17:59:47 +01:00
1 parent 509b6c9653
commit 0ad78fe753
4 files changed
+32 -31

No files matched your search

+2 -2
View File
@@ -35,12 +35,12 @@ constexpr auto ratio_text()
return txt + basic_fixed_string("]");
}
else if constexpr (Ratio::den == 1) {
return txt + basic_fixed_string(" x 10") + superscript<Ratio::exp>() +
return txt + basic_fixed_string(" \u00D7 10") + superscript<Ratio::exp>() +
basic_fixed_string("]");
}
else {
return txt + basic_fixed_string("/") + regular<Ratio::den>() +
basic_fixed_string(" x 10") + superscript<Ratio::exp>() +
basic_fixed_string(" \u00D7 10") + superscript<Ratio::exp>() +
basic_fixed_string("]");
}
}