aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory/ref.cpp
diff options
context:
space:
mode:
authorklyachin <klyachin@yandex-team.ru>2022-02-10 16:50:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:49 +0300
commite6be5cdb79b60e82133df0867c6ca8b7597e1329 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/memory/ref.cpp
parentf821209587857f439489e1cdf0a9102225809935 (diff)
downloadydb-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.cpp6
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());