diff options
author | gulin <gulin@yandex-team.ru> | 2022-02-10 16:47:31 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:31 +0300 |
commit | c807aae441c17fc7f577c35757a4b6e0bd909802 (patch) | |
tree | fc3268f43edbf6f854c0266cd05b91952484179b /util/generic/ptr.h | |
parent | d06e6190fa85c1fb4b011631503d53ea39942ff9 (diff) | |
download | ydb-c807aae441c17fc7f577c35757a4b6e0bd909802.tar.gz |
Restoring authorship annotation for <gulin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/ptr.h')
-rw-r--r-- | util/generic/ptr.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/util/generic/ptr.h b/util/generic/ptr.h index 19db0e3ec5..6d17160a4b 100644 --- a/util/generic/ptr.h +++ b/util/generic/ptr.h @@ -1124,22 +1124,22 @@ template <class T> class TPtrArg { T* Ptr; -public: +public: TPtrArg(T* p) - : Ptr(p) - { - } + : Ptr(p) + { + } TPtrArg(const TIntrusivePtr<T>& p) - : Ptr(p.Get()) - { - } - operator T*() const { - return Ptr; - } - T* operator->() const { - return Ptr; - } - T* Get() const { - return Ptr; - } -}; + : Ptr(p.Get()) + { + } + operator T*() const { + return Ptr; + } + T* operator->() const { + return Ptr; + } + T* Get() const { + return Ptr; + } +}; |