diff options
Diffstat (limited to 'test/actor')
-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 c2a41fe787..03eb9b8301 100644 --- a/test/actor/actor.test.cpp +++ b/test/actor/actor.test.cpp @@ -156,7 +156,7 @@ TEST(Actor, DestructionAllowedInReceiveOnSameThread) { }; std::promise<void> callbackFiredPromise; - auto retainer = Scheduler::GetBackground(); + std::shared_ptr<Scheduler> retainer = Scheduler::GetBackground(); auto test = std::make_unique<Actor<Test>>(retainer); // Callback (triggered while mutex is locked in Mailbox::receive()) |