refactor: Remove unused GetTimeMillis

The function is unused, not type-safe, and does not denote the
underlying clock type. So remove it.
This commit is contained in:
MarcoFalke
2023-05-08 12:37:57 +02:00
parent 322ec63b01
commit fae1d9cded
4 changed files with 6 additions and 22 deletions

View File

@@ -32,7 +32,7 @@ static void BenchTimeMillis(benchmark::Bench& bench)
static void BenchTimeMillisSys(benchmark::Bench& bench)
{
bench.run([&] {
(void)GetTimeMillis();
(void)TicksSinceEpoch<std::chrono::milliseconds>(SystemClock::now());
});
}