mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-03 17:54:19 +02:00
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:
@@ -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());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user