diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:08 +0300 |
commit | 4e839db24a3bbc9f1c610c43d6faaaa99824dcca (patch) | |
tree | 506dac10f5df94fab310584ee51b24fc5a081c22 /util/memory | |
parent | 2d37894b1b037cf24231090eda8589bbb44fb6fc (diff) | |
download | ydb-4e839db24a3bbc9f1c610c43d6faaaa99824dcca.tar.gz |
Restoring authorship annotation for <thegeorg@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/memory')
-rw-r--r-- | util/memory/blob.h | 14 | ||||
-rw-r--r-- | util/memory/segmented_string_pool.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/util/memory/blob.h b/util/memory/blob.h index 20c02a68df..013570834e 100644 --- a/util/memory/blob.h +++ b/util/memory/blob.h @@ -1,8 +1,8 @@ #pragma once -#include <util/generic/fwd.h> -#include <util/generic/strbuf.h> -#include <util/generic/utility.h> +#include <util/generic/fwd.h> +#include <util/generic/strbuf.h> +#include <util/generic/utility.h> #include <util/system/defaults.h> class TMemoryMap; @@ -136,10 +136,10 @@ public: return (const unsigned char*)Data(); } - inline TStringBuf AsStringBuf() const noexcept { - return TStringBuf(AsCharPtr(), size()); - } - + inline TStringBuf AsStringBuf() const noexcept { + return TStringBuf(AsCharPtr(), size()); + } + /// Drops the data array. inline void Drop() noexcept { TBlob().Swap(*this); diff --git a/util/memory/segmented_string_pool.h b/util/memory/segmented_string_pool.h index a40aa408f5..b2871deaf7 100644 --- a/util/memory/segmented_string_pool.h +++ b/util/memory/segmented_string_pool.h @@ -28,7 +28,7 @@ protected: , freepos(0) { } - seg_inf(T* d, size_t sz) + seg_inf(T* d, size_t sz) : data(d) , _size(sz) , freepos(0) |