diff options
author | klyachin <klyachin@yandex-team.ru> | 2022-02-10 16:50:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:49 +0300 |
commit | f821209587857f439489e1cdf0a9102225809935 (patch) | |
tree | 1e2e44d5dde7e7e2c0abe7fb87d067d3a7ca4568 /library/cpp/yt/memory/ref.cpp | |
parent | e42ca7b119fc94cd6e48efec40dfb65a98db7677 (diff) | |
download | ydb-f821209587857f439489e1cdf0a9102225809935.tar.gz |
Restoring authorship annotation for <klyachin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/memory/ref.cpp')
-rw-r--r-- | library/cpp/yt/memory/ref.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/memory/ref.cpp b/library/cpp/yt/memory/ref.cpp index e8ff42e976..787eadfe88 100644 --- a/library/cpp/yt/memory/ref.cpp +++ b/library/cpp/yt/memory/ref.cpp @@ -261,14 +261,14 @@ TSharedMutableRef TSharedMutableRef::MakeCopy(TRef ref, TRefCountedTypeCookie ta } if (ref.Empty()) { return TSharedMutableRef::MakeEmpty(); - } + } auto result = Allocate(ref.Size(), false, tagCookie); ::memcpy(result.Begin(), ref.Begin(), ref.Size()); return result; } -//////////////////////////////////////////////////////////////////////////////// - +//////////////////////////////////////////////////////////////////////////////// + TString ToString(TRef ref) { return TString(ref.Begin(), ref.End()); |