fix compilation of test fails on Android x86 (#14442)
This commit is contained in:
1 parent
eb19a7f7ad
commit
f5e6816633
1 file changed
+1
-1
@@ -47,7 +47,7 @@ static void run_test(std::function<void()> preprocessing,
|
||||
auto stop = Time::now();
|
||||
std::chrono::duration<float> fs = stop - start;
|
||||
time_interval d = std::chrono::duration_cast<time_interval>(fs);
|
||||
max_time = std::max(max_time, d.count());
|
||||
max_time = std::max(max_time, static_cast<int64_t>(d.count()));
|
||||
avg_time += static_cast<double>(d.count());
|
||||
postprocessing();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user