summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory/blob.h
diff options
context:
space:
mode:
authorignat <[email protected]>2022-02-10 16:48:20 +0300
committerDaniil Cherednik <[email protected]>2022-02-10 16:48:20 +0300
commit12d7840a194f4a6e4ea77a405f980074cf43e942 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/memory/blob.h
parentc8b279dd21ddcb47e755028d81281f113a0f4a11 (diff)
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/memory/blob.h')
-rw-r--r--library/cpp/yt/memory/blob.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/yt/memory/blob.h b/library/cpp/yt/memory/blob.h
index 0fe1bcbd118..99441fb8c97 100644
--- a/library/cpp/yt/memory/blob.h
+++ b/library/cpp/yt/memory/blob.h
@@ -187,11 +187,11 @@ public:
//! Appends a single char to the end.
void Append(char ch);
- //! Swaps the current and other instances
- void Swap(TBlob& other);
+ //! Swaps the current and other instances
+ void Swap(TBlob& other);
+
+ friend void swap(TBlob& left, TBlob& right);
- friend void swap(TBlob& left, TBlob& right);
-
private:
char* Begin_ = nullptr;
size_t Size_ = 0;
@@ -213,8 +213,8 @@ private:
void SetTagCookie(const TBlob& other);
};
-void swap(TBlob& left, TBlob& right);
-
+void swap(TBlob& left, TBlob& right);
+
////////////////////////////////////////////////////////////////////////////////
} // namespace NYT