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 | c78b06a63de7beec995c1007bc5332bdf3d75b69 (patch) | |
tree | 729de992758f40b85278d4abaad655be5dd68dbc /util/memory/blob.h | |
parent | 95ab23a39b5482a434361566cabdd5b0a433cb43 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 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 20c02a68dfb..73de03bb533 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) { |