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 | e6be5cdb79b60e82133df0867c6ca8b7597e1329 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/memory/ref.cpp | |
parent | f821209587857f439489e1cdf0a9102225809935 (diff) | |
download | ydb-e6be5cdb79b60e82133df0867c6ca8b7597e1329.tar.gz |
Restoring authorship annotation for <klyachin@yandex-team.ru>. Commit 2 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 787eadfe88..e8ff42e976 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()); |