aboutsummaryrefslogtreecommitdiffstats
path: root/util/memory/blob.cpp
diff options
context:
space:
mode:
authorIlnur Khuziev <ilnur.khuziev@yandex.ru>2022-02-10 16:46:13 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:13 +0300
commit736dcd8ca259457a136f2f9f9168c44643914323 (patch)
treeddd46a036d68bfa83aa11b892f31243ea6b068a1 /util/memory/blob.cpp
parent9bf2fa2b060c9881d3135c2208c624a1dd546ecc (diff)
downloadydb-736dcd8ca259457a136f2f9f9168c44643914323.tar.gz
Restoring authorship annotation for Ilnur Khuziev <ilnur.khuziev@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory/blob.cpp')
-rw-r--r--util/memory/blob.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/memory/blob.cpp b/util/memory/blob.cpp
index 91da5cadca..341071e625 100644
--- a/util/memory/blob.cpp
+++ b/util/memory/blob.cpp
@@ -179,7 +179,7 @@ static inline TBlob CopyConstruct(const void* data, size_t len) {
memcpy(base->Data(), data, len);
TBlob ret(base->Data(), len, base.Get());
- Y_UNUSED(base.Release());
+ Y_UNUSED(base.Release());
return ret;
}
@@ -201,7 +201,7 @@ static inline TBlob ConstructFromMap(const TMemoryMap& map, ui64 offset, size_t
using TBase = TMappedBlobBase<TCounter>;
THolder<TBase> base(new TBase(map, offset, length, mode));
TBlob ret(base->Data(), base->Length(), base.Get());
- Y_UNUSED(base.Release());
+ Y_UNUSED(base.Release());
return ret;
}
@@ -310,7 +310,7 @@ static inline TBlob ReadFromFile(const TFile& file, ui64 offset, size_t length)
file.Pload(base->Data(), length, offset);
TBlob ret(base->Data(), length, base.Get());
- Y_UNUSED(base.Release());
+ Y_UNUSED(base.Release());
return ret;
}
@@ -356,7 +356,7 @@ static inline TBlob ConstructFromBuffer(TBuffer& in) {
THolder<TBase> base(new TBase(in));
TBlob ret(base->Buffer().Data(), base->Buffer().Size(), base.Get());
- Y_UNUSED(base.Release());
+ Y_UNUSED(base.Release());
return ret;
}
@@ -396,7 +396,7 @@ TBlob ConstructFromString(S&& s) {
auto base = MakeHolder<TBase>(std::forward<S>(s));
TBlob ret(base->String().data(), base->String().size(), base.Get());
- Y_UNUSED(base.Release());
+ Y_UNUSED(base.Release());
return ret;
}