diff options
author | vvvv <vvvv@yandex-team.ru> | 2022-02-10 16:46:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:34 +0300 |
commit | ad94e93a059747f4fc3d7add88d1a83daf40b733 (patch) | |
tree | 731d57e580bd143e1136e7747f13b26e6bac95d0 /library/cpp/actors/core/actor.h | |
parent | 298c6da79f1d8f35089a67f463f0b541bec36d9b (diff) | |
download | ydb-ad94e93a059747f4fc3d7add88d1a83daf40b733.tar.gz |
Restoring authorship annotation for <vvvv@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/core/actor.h')
-rw-r--r-- | library/cpp/actors/core/actor.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/library/cpp/actors/core/actor.h b/library/cpp/actors/core/actor.h index ed29bd14b9..7c91642087 100644 --- a/library/cpp/actors/core/actor.h +++ b/library/cpp/actors/core/actor.h @@ -3,7 +3,7 @@ #include "event.h" #include "monotonic.h" #include <util/system/tls.h> -#include <library/cpp/actors/util/local_process_key.h> +#include <library/cpp/actors/util/local_process_key.h> namespace NActors { class TActorSystem; @@ -383,16 +383,16 @@ namespace NActors { } }; - struct TActorActivityTag {}; - - inline size_t GetActivityTypeCount() { - return TLocalProcessKeyState<TActorActivityTag>::GetInstance().GetCount(); - } - - inline TStringBuf GetActivityTypeName(size_t index) { - return TLocalProcessKeyState<TActorActivityTag>::GetInstance().GetNameByIndex(index); - } - + struct TActorActivityTag {}; + + inline size_t GetActivityTypeCount() { + return TLocalProcessKeyState<TActorActivityTag>::GetInstance().GetCount(); + } + + inline TStringBuf GetActivityTypeName(size_t index) { + return TLocalProcessKeyState<TActorActivityTag>::GetInstance().GetNameByIndex(index); + } + template <typename TDerived> class TActor: public IActor { private: @@ -415,8 +415,8 @@ namespace NActors { // static_cast<IActor::EActorActivity>(TDerived::ActorActivityType())); //} } - } - + } + protected: //* Comment this function to find unmarked activities static constexpr IActor::EActivityType ActorActivityType() { |