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.
2 parents c1fb0e1 + 72bf90d commit 7fe29d8Copy full SHA for 7fe29d8
src/scheduler.cpp
@@ -50,8 +50,10 @@ void CScheduler::serviceQueue()
50
// Keep waiting until timeout
51
}
52
#else
53
+ // Some boost versions have a conflicting overload of wait_until that returns void.
54
+ // Explicitly use a template here to avoid hitting that overload.
55
while (!shouldStop() && !taskQueue.empty() &&
- newTaskScheduled.wait_until(lock, taskQueue.begin()->first) != boost::cv_status::timeout) {
56
+ newTaskScheduled.wait_until<>(lock, taskQueue.begin()->first) != boost::cv_status::timeout) {
57
58
59
#endif
0 commit comments