blob: d248fe87f2d7ca15cca64bd3b20b5c16f3128e02 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff --git a/core/base/timer.cpp b/core/base/timer.cpp
index bc1c716..0185567 100644
--- a/core/base/timer.cpp
+++ b/core/base/timer.cpp
@@ -124,7 +124,7 @@ void CpuTimer::wait(time_point& time) {}
std::chrono::nanoseconds CpuTimer::difference_async(const time_point& start,
const time_point& stop)
{
- return std::chrono::duration_cast<std::chrono::nanoseconds, int64>(
+ return std::chrono::duration_cast<std::chrono::nanoseconds>(
stop.data_.chrono - start.data_.chrono);
}
|