diff options
| author | pkalinnikov <[email protected]> | 2022-02-10 16:50:15 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:15 +0300 |
| commit | 9e33e026829d561d6fd46d72b88c367952e08075 (patch) | |
| tree | 2af190fca83ac522e9a7e29de1daae32582064b4 /library/cpp/actors/core/actorid.cpp | |
| parent | ba5325cc01aabb81effc91ff1bdbb461313cbd00 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/actors/core/actorid.cpp')
| -rw-r--r-- | library/cpp/actors/core/actorid.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/actors/core/actorid.cpp b/library/cpp/actors/core/actorid.cpp index ccda035eac0..8de83ebc0d8 100644 --- a/library/cpp/actors/core/actorid.cpp +++ b/library/cpp/actors/core/actorid.cpp @@ -1,6 +1,6 @@ #include "actorid.h" #include <util/string/builder.h> -#include <util/string/cast.h> +#include <util/string/cast.h> namespace NActors { void TActorId::Out(IOutputStream& o) const { @@ -26,9 +26,9 @@ namespace NActors { semicolons[1] = str.find(':', semicolons[0] + 1); if (semicolons[1] == TStringBuf::npos) return false; - + bool success = TryFromString(buf + 1, semicolons[0] - 1, Raw.N.NodeId) && TryFromString(buf + semicolons[0] + 1, semicolons[1] - semicolons[0] - 1, Raw.N.LocalId) && TryFromString(buf + semicolons[1] + 1, sz - semicolons[1] - 2, Raw.N.Hint); - + return success; } } |
