std::ratio<1> set as a default for unit

This commit is contained in:
Mateusz Pusz committed 2019-05-09 19:54:18 -06:00
1 parent 1bbbd02f1c
commit a63b5ab111
7 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ namespace units {
using length = quantity<dimension_length, U, Rep>;
// SI units
struct meter : unit<dimension_length, std::ratio<1>> {};
struct meter : unit<dimension_length> {};
template<> struct upcasting_traits<upcast_from<meter>> : upcast_to<meter> {};
struct millimeter : milli<meter> {};