aboutsummaryrefslogtreecommitdiffstats
path: root/util/generic/ptr.h
diff options
context:
space:
mode:
authorAndrey Khalyavin <halyavin@gmail.com>2022-02-10 16:46:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:29 +0300
commitf773626848a7c7456803654292e716b83d69cc12 (patch)
treedb052dfcf9134f492bdbb962cb6c16cea58e1ed3 /util/generic/ptr.h
parentf43ab775d197d300eb67bd4497632b909cd7c2a5 (diff)
downloadydb-f773626848a7c7456803654292e716b83d69cc12.tar.gz
Restoring authorship annotation for Andrey Khalyavin <halyavin@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r--util/generic/ptr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h
index 19db0e3ec5..22f22787ba 100644
--- a/util/generic/ptr.h
+++ b/util/generic/ptr.h
@@ -1080,7 +1080,7 @@ public:
return T_.Get();
}
- inline T* Mutable() {
+ inline T* Mutable() {
Unshare();
return T_.Get();
@@ -1109,7 +1109,7 @@ public:
}
#endif
private:
- inline void Unshare() {
+ inline void Unshare() {
if (Shared()) {
Reset(TCopy::Copy(T_.Get()));
}