diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/actor/actor.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/actor/actor.test.cpp b/test/actor/actor.test.cpp index 6db95a83f1..4b152f471a 100644 --- a/test/actor/actor.test.cpp +++ b/test/actor/actor.test.cpp @@ -101,7 +101,7 @@ TEST(Actor, DestructionBlocksOnSend) { EXPECT_TRUE(waited.load()); } - void schedule(std::weak_ptr<Mailbox>) final { + void schedule(std::function<void()>) final { promise.set_value(); future.wait(); std::this_thread::sleep_for(1ms); |