diff options
author | tender-bum <[email protected]> | 2022-02-10 16:50:01 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:50:01 +0300 |
commit | 4aef354b224559d2b031487a10d4f5cc6e82e95a (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/memory/blob.h | |
parent | c78b06a63de7beec995c1007bc5332bdf3d75b69 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'util/memory/blob.h')
-rw-r--r-- | util/memory/blob.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/memory/blob.h b/util/memory/blob.h index 73de03bb533..20c02a68dfb 100644 --- a/util/memory/blob.h +++ b/util/memory/blob.h @@ -294,18 +294,18 @@ public: /// @details The input object becomes empty. static TBlob FromBuffer(TBuffer& in); - /// Creates a blob from TString with a single-threaded (non atomic) refcounter. + /// Creates a blob from TString with a single-threaded (non atomic) refcounter. static TBlob FromStringSingleThreaded(const TString& s); - /// Creates a blob from TString with a single-threaded (non atomic) refcounter. Doesn't copy its content. - static TBlob FromStringSingleThreaded(TString&& s); - - /// Creates a blob from TString with a multi-threaded (atomic) refcounter. + /// Creates a blob from TString with a single-threaded (non atomic) refcounter. Doesn't copy its content. + static TBlob FromStringSingleThreaded(TString&& s); + + /// Creates a blob from TString with a multi-threaded (atomic) refcounter. static TBlob FromString(const TString& s); - /// Creates a blob from TString with a multi-threaded (atomic) refcounter. Doesn't copy its content. - static TBlob FromString(TString&& s); - + /// Creates a blob from TString with a multi-threaded (atomic) refcounter. Doesn't copy its content. + static TBlob FromString(TString&& s); + private: inline void Ref() noexcept { if (S_.Base) { |