diff options
| author | azevaykin <[email protected]> | 2023-10-20 14:33:00 +0300 |
|---|---|---|
| committer | azevaykin <[email protected]> | 2023-10-20 15:26:28 +0300 |
| commit | 94b737e71f7f210914d394f192c49897c80e527d (patch) | |
| tree | 8f4f37c61f868696791eb8754ccd5e23f022da8b /library/cpp/actors/testlib/test_runtime.cpp | |
| parent | cb95924ef1721b430e56c39da77c6d3ed4db5b40 (diff) | |
Remove 'runtime' from TEventObserver
Diffstat (limited to 'library/cpp/actors/testlib/test_runtime.cpp')
| -rw-r--r-- | library/cpp/actors/testlib/test_runtime.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/library/cpp/actors/testlib/test_runtime.cpp b/library/cpp/actors/testlib/test_runtime.cpp index 20b26c33d34..79de25e77f6 100644 --- a/library/cpp/actors/testlib/test_runtime.cpp +++ b/library/cpp/actors/testlib/test_runtime.cpp @@ -578,8 +578,7 @@ namespace NActors { return UseRealThreads; } - TTestActorRuntimeBase::EEventAction TTestActorRuntimeBase::DefaultObserverFunc(TTestActorRuntimeBase& runtime, TAutoPtr<IEventHandle>& event) { - Y_UNUSED(runtime); + TTestActorRuntimeBase::EEventAction TTestActorRuntimeBase::DefaultObserverFunc(TAutoPtr<IEventHandle>& event) { Y_UNUSED(event); return EEventAction::PROCESS; } @@ -1204,7 +1203,7 @@ namespace NActors { mbox.second->Capture(events); for (auto& ev : events) { TInverseGuard<TMutex> inverseGuard(Mutex); - ObserverFunc(*this, ev); + ObserverFunc(ev); } mbox.second->PushFront(events); } @@ -1232,7 +1231,7 @@ namespace NActors { EEventAction action; { TInverseGuard<TMutex> inverseGuard(Mutex); - action = ObserverFunc(*this, ev); + action = ObserverFunc(ev); } switch (action) { |
