Update src/io/future.hpp
Co-authored-by: Jure Bajic <jure.bajic@memgraph.com>
This commit is contained in:
parent
b2a8063a96
commit
a4b1d5efb4
@ -77,7 +77,7 @@ class Shared {
|
||||
// so we have to get out of its way to avoid
|
||||
// a cyclical deadlock.
|
||||
lock.unlock();
|
||||
simulator_progressed = (simulator_notifier_)();
|
||||
simulator_progressed = std::invoke(simulator_notifier_);
|
||||
lock.lock();
|
||||
if (item_) {
|
||||
// item may have been filled while we
|
||||
|
Loading…
Reference in New Issue
Block a user