diff options
author | Alexander Rutkovsky <alexvru@mail.ru> | 2022-02-10 16:47:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:39 +0300 |
commit | f3646f91e0de459836a7800b9ce3e8dc57a2ab3a (patch) | |
tree | 25c1423200152570c1f8307e5b8304b9bc3840c5 /library/cpp/actors/core/event.cpp | |
parent | fccc62e9bfdce9be2fe7e0f23479da3a5512211a (diff) | |
download | ydb-f3646f91e0de459836a7800b9ce3e8dc57a2ab3a.tar.gz |
Restoring authorship annotation for Alexander Rutkovsky <alexvru@mail.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/core/event.cpp')
-rw-r--r-- | library/cpp/actors/core/event.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/actors/core/event.cpp b/library/cpp/actors/core/event.cpp index 33f8ce2aaf..2ab190344e 100644 --- a/library/cpp/actors/core/event.cpp +++ b/library/cpp/actors/core/event.cpp @@ -2,11 +2,11 @@ #include "event_pb.h" namespace NActors { - - const TScopeId TScopeId::LocallyGenerated{ - Max<ui64>(), Max<ui64>() - }; - + + const TScopeId TScopeId::LocallyGenerated{ + Max<ui64>(), Max<ui64>() + }; + TIntrusivePtr<TEventSerializedData> IEventHandle::ReleaseChainBuffer() { if (Buffer) { TIntrusivePtr<TEventSerializedData> result; @@ -17,7 +17,7 @@ namespace NActors { if (Event) { TAllocChunkSerializer serializer; Event->SerializeToArcadiaStream(&serializer); - auto chainBuf = serializer.Release(Event->IsExtendedFormat()); + auto chainBuf = serializer.Release(Event->IsExtendedFormat()); Event.Reset(); return chainBuf; } @@ -30,7 +30,7 @@ namespace NActors { if (Event) { TAllocChunkSerializer serializer; Event->SerializeToArcadiaStream(&serializer); - Buffer = serializer.Release(Event->IsExtendedFormat()); + Buffer = serializer.Release(Event->IsExtendedFormat()); return Buffer; } return new TEventSerializedData; |