We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7adeaaf commit 1b7b7a3Copy full SHA for 1b7b7a3
LuaSTG/LuaSTG/LuaBinding/LW_StopWatch.cpp
@@ -53,7 +53,7 @@ void fcyStopWatch::Reset()
53
54
double fcyStopWatch::GetElapsed()
55
{
56
- return std::chrono::duration_cast<std::chrono::seconds>(Clock::now() - m_cLast - m_cFixAll).count();
+ return std::chrono::duration_cast<std::chrono::duration<double, std::ratio<1>>>(Clock::now() - m_cLast - m_cFixAll).count();
57
}
58
59
namespace LuaSTGPlus::LuaWrapper
0 commit comments