Reversed order of arguments to clock_time_conversion.

Now the order of argument matches the clock_cast function.
The test only is_clock_castable trait still matches is_convertible
order of arguments.
This commit is contained in:
Tomasz Kamiński authored and Howard Hinnant committed 2017-11-26 13:50:21 -05:00
1 parent 7c69f1570d
commit 543315b700
8 files changed
+51 -51

No files matched your search

+2 -2
View File
@@ -34,7 +34,7 @@ main()
auto ut = utc_clock::from_sys(st);
assert(to_utc_time(st) == ut);
assert(to_sys_time(ut) == st);
assert(to_sys_time(ut) == st);
}
// tai <-> utc
@@ -77,7 +77,7 @@ main()
assert(to_sys_time(gt) == st);
}
// tai <-> gps
// tai <-> gps
{
sys_days st(1997_y/dec/12);
auto ut = utc_clock::from_sys(st);