diff options
author | kartynnik <kartynnik@yandex-team.ru> | 2022-02-10 16:48:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:07 +0300 |
commit | ca2a705e6e39e85df30054d7e806e572de9cfe23 (patch) | |
tree | fb7cc52bc2579366b2796a24f91f6df7a223f9ab /util/ysafeptr.h | |
parent | e20e2b362f0232ed5a389db887e6e27e7763af18 (diff) | |
download | ydb-ca2a705e6e39e85df30054d7e806e572de9cfe23.tar.gz |
Restoring authorship annotation for <kartynnik@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/ysafeptr.h')
-rw-r--r-- | util/ysafeptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/ysafeptr.h b/util/ysafeptr.h index af7dfd4bed..15c8c345f5 100644 --- a/util/ysafeptr.h +++ b/util/ysafeptr.h @@ -193,7 +193,7 @@ public: // if class needs special destructor, use CFundament #define OBJECT_METHODS(classname) \ public: \ - virtual const char* GetClassName() const override { \ + virtual const char* GetClassName() const override { \ return #classname; \ } \ static IObjectBase* NewSaveLoadNullItem() { \ @@ -201,7 +201,7 @@ public: \ } \ \ protected: \ - virtual void DestroyContents() override { \ + virtual void DestroyContents() override { \ this->~classname(); \ int nHoldRefs = this->RefData, nHoldObjs = this->ObjData; \ new (this) classname(); \ |