diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-04-14 17:02:14 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-04-14 17:02:14 +0300 |
commit | 88ed50008f008d06269417d8d9fe2fa166288d17 (patch) | |
tree | 178ad92a2172b6dd325b0f4c06d96c7eb1854b3f /library/cpp | |
parent | c51441779ee2b5294f551a2e52d12990f521d5e1 (diff) | |
download | ydb-88ed50008f008d06269417d8d9fe2fa166288d17.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/actors/examples/01_ping_pong/main.cpp | 4 | ||||
-rw-r--r-- | library/cpp/actors/examples/02_discovery/lookup.cpp | 4 | ||||
-rw-r--r-- | library/cpp/actors/examples/02_discovery/publish.cpp | 12 |
3 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/actors/examples/01_ping_pong/main.cpp b/library/cpp/actors/examples/01_ping_pong/main.cpp index ccb73f7d458..c98c5f7b883 100644 --- a/library/cpp/actors/examples/01_ping_pong/main.cpp +++ b/library/cpp/actors/examples/01_ping_pong/main.cpp @@ -54,7 +54,7 @@ public: Y_UNUSED(ctx); switch (ev->GetTypeRewrite()) { hFunc(TEvents::TEvPing, Handle); - cFunc(TEvents::TEvWakeup::EventType, PrintStats); + sFunc(TEvents::TEvWakeup, PrintStats); } ++HandledEvents; @@ -64,7 +64,7 @@ public: Y_UNUSED(ctx); switch (ev->GetTypeRewrite()) { hFunc(TEvents::TEvPong, Handle); - cFunc(TEvents::TEvWakeup::EventType, PrintStats); + sFunc(TEvents::TEvWakeup, PrintStats); } ++HandledEvents; diff --git a/library/cpp/actors/examples/02_discovery/lookup.cpp b/library/cpp/actors/examples/02_discovery/lookup.cpp index 979a38d2157..d5bd30dd3e4 100644 --- a/library/cpp/actors/examples/02_discovery/lookup.cpp +++ b/library/cpp/actors/examples/02_discovery/lookup.cpp @@ -52,8 +52,8 @@ public: Y_UNUSED(ctx); switch (ev->GetTypeRewrite()) { hFunc(TEvExample::TEvReplicaInfo, Handle); - cFunc(TEvents::TEvUndelivered::EventType, HandleUndelivered); - cFunc(TEvInterconnect::TEvNodeDisconnected::EventType, HandleUndelivered); + sFunc(TEvents::TEvUndelivered, HandleUndelivered); + sFunc(TEvInterconnect::TEvNodeDisconnected, HandleUndelivered); default: break; } diff --git a/library/cpp/actors/examples/02_discovery/publish.cpp b/library/cpp/actors/examples/02_discovery/publish.cpp index 8dc5fbcea47..5dfe5dd9590 100644 --- a/library/cpp/actors/examples/02_discovery/publish.cpp +++ b/library/cpp/actors/examples/02_discovery/publish.cpp @@ -47,9 +47,9 @@ public: STFUNC(StatePublish) { Y_UNUSED(ctx); switch (ev->GetTypeRewrite()) { - cFunc(TEvents::TEvPoison::EventType, PassAway); - cFunc(TEvents::TEvUndelivered::EventType, SomeSleep); - cFunc(TEvInterconnect::TEvNodeDisconnected::EventType, SomeSleep); + sFunc(TEvents::TEvPoison, PassAway); + sFunc(TEvents::TEvUndelivered, SomeSleep); + sFunc(TEvInterconnect::TEvNodeDisconnected, SomeSleep); default: break; } @@ -58,8 +58,8 @@ public: STFUNC(StateSleep) { Y_UNUSED(ctx); switch (ev->GetTypeRewrite()) { - cFunc(TEvents::TEvPoison::EventType, PassAway); - cFunc(TEvents::TEvWakeup::EventType, Bootstrap); + sFunc(TEvents::TEvPoison, PassAway); + sFunc(TEvents::TEvWakeup, Bootstrap); default: break; } @@ -101,7 +101,7 @@ public: STFUNC(StateWork) { Y_UNUSED(ctx); switch (ev->GetTypeRewrite()) { - cFunc(TEvents::TEvPoison::EventType, PassAway); + sFunc(TEvents::TEvPoison, PassAway); default: break; } |