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 cda1429 commit 2fbf2dbCopy full SHA for 2fbf2db
src/scheduler.h
@@ -41,7 +41,7 @@ class CScheduler
41
typedef std::function<void(void)> Function;
42
43
// Call func at/after time t
44
- void schedule(Function f, boost::chrono::system_clock::time_point t);
+ void schedule(Function f, boost::chrono::system_clock::time_point t=boost::chrono::system_clock::now());
45
46
// Convenience method: call f once deltaSeconds from now
47
void scheduleFromNow(Function f, int64_t deltaMilliSeconds);
0 commit comments