Replace CountSecondsDouble with Ticks<SecondsDouble>

This commit is contained in:
MacroFake
2022-06-27 09:35:09 +02:00
parent dde7205c57
commit fa956e7508
3 changed files with 4 additions and 9 deletions

View File

@@ -56,11 +56,6 @@ constexpr int64_t count_microseconds(std::chrono::microseconds t) { return t.cou
using SecondsDouble = std::chrono::duration<double, std::chrono::seconds::period>;
/**
* Helper to count the seconds in any std::chrono::duration type
*/
inline double CountSecondsDouble(SecondsDouble t) { return t.count(); }
/**
* DEPRECATED
* Use either ClockType::now() or Now<TimePointType>() if a cast is needed.