We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9afa607 commit e562a8cCopy full SHA for e562a8c
navmerge.cc
@@ -72,14 +72,14 @@ bool g_inavdedup{false};
72
73
*/
74
75
-auto xSecondsFromNow(double seconds)
+static auto xSecondsFromNow(double seconds)
76
{
77
auto now = chrono::steady_clock::now();
78
now += std::chrono::milliseconds((unsigned int)(seconds*1000));
79
return now;
80
}
81
82
-int msecLeft(const std::chrono::steady_clock::time_point& deadline)
+static int msecLeft(const std::chrono::steady_clock::time_point& deadline)
83
84
85
return std::chrono::duration_cast<std::chrono::milliseconds>(deadline - now).count();
0 commit comments