diff options
author | xenoxeno <xeno@ydb.tech> | 2023-03-29 11:01:39 +0300 |
---|---|---|
committer | xenoxeno <xeno@ydb.tech> | 2023-03-29 11:01:39 +0300 |
commit | 35185f5ff52ac229628762af6bf520cabe9d6a18 (patch) | |
tree | a56ac18224623b798a935ea1d209b5a0f572c467 /library | |
parent | 1aeb3d6a6d8657454bfad93d4186c60d563fccd6 (diff) | |
download | ydb-35185f5ff52ac229628762af6bf520cabe9d6a18.tar.gz |
solve recursion problem
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/actors/core/actor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/actors/core/actor.h b/library/cpp/actors/core/actor.h index e1232c01a8a..4e0e9b4560c 100644 --- a/library/cpp/actors/core/actor.h +++ b/library/cpp/actors/core/actor.h @@ -538,16 +538,16 @@ namespace NActors { return Send(recipient, ev.release(), flags, cookie, std::move(traceId)); } - bool Forward(TAutoPtr<IEventHandle>& ev, const TActorId& recipient) { + static bool Forward(TAutoPtr<IEventHandle>& ev, const TActorId& recipient) { return TActivationContext::Forward(ev, recipient); } - bool Forward(THolder<IEventHandle>& ev, const TActorId& recipient) { + static bool Forward(THolder<IEventHandle>& ev, const TActorId& recipient) { return TActivationContext::Forward(ev, recipient); } template <typename TEventHandle> - bool Forward(TAutoPtr<TEventHandle>& ev, const TActorId& recipient) const { + static bool Forward(TAutoPtr<TEventHandle>& ev, const TActorId& recipient) { TAutoPtr<IEventHandle> evi(ev.Release()); return Forward(evi, recipient); } |