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
@@ -36,7 +36,7 @@ namespace units {
template<Unit U = struct second, Number Rep = double>
using time = quantity<dimension_time, U, Rep>;
struct second : unit<dimension_time, std::ratio<1>> {};
struct second : unit<dimension_time> {};
template<> struct upcasting_traits<upcast_from<second>> : upcast_to<second> {};
struct nanosecond : nano<second> {};