diff options
author | f0b0s <f0b0s@yandex-team.ru> | 2022-02-10 16:46:51 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:51 +0300 |
commit | cdae02d225fb5b3afbb28990e79a7ac6c9125327 (patch) | |
tree | 49e222ea1c5804306084bb3ae065bb702625360f /util/ysafeptr.h | |
parent | deabc5260ac2e17b8f5152ee060bec1740613540 (diff) | |
download | ydb-cdae02d225fb5b3afbb28990e79a7ac6c9125327.tar.gz |
Restoring authorship annotation for <f0b0s@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/ysafeptr.h')
-rw-r--r-- | util/ysafeptr.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/ysafeptr.h b/util/ysafeptr.h index 4f815a5b4a..af7dfd4bed 100644 --- a/util/ysafeptr.h +++ b/util/ysafeptr.h @@ -131,9 +131,9 @@ public: } #endif - // class name of derived class - virtual const char* GetClassName() const = 0; - + // class name of derived class + virtual const char* GetClassName() const = 0; + ui32 IsRefInvalid() const { return (ObjData & 0x80000000); } @@ -313,7 +313,7 @@ public: const char* GetClassName() const { return ptr->GetClassName(); } - + // assignment operators TPtrBase& operator=(TUserObj* _ptr) { Set(_ptr); |