Bump to Clang 19 (#2434)

This commit is contained in:
¥IGA
2025-02-18 14:55:13 +01:00
committed by GitHub
parent e67263cc0e
commit 8447412c77
8 changed files with 16 additions and 14 deletions

View File

@@ -41,7 +41,7 @@ void SetCurrentThreadRealtime(const std::chrono::nanoseconds period_ns) {
const std::chrono::nanoseconds computation_ns = period_ns / 2;
// Determine the timebase for converting time to ticks.
struct mach_timebase_info timebase {};
struct mach_timebase_info timebase{};
mach_timebase_info(&timebase);
const auto ticks_per_ns =
static_cast<double>(timebase.denom) / static_cast<double>(timebase.numer);