aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory/weak_ptr.h
diff options
context:
space:
mode:
authorklyachin <klyachin@yandex-team.ru>2022-02-10 16:50:49 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:49 +0300
commite6be5cdb79b60e82133df0867c6ca8b7597e1329 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/memory/weak_ptr.h
parentf821209587857f439489e1cdf0a9102225809935 (diff)
downloadydb-e6be5cdb79b60e82133df0867c6ca8b7597e1329.tar.gz
Restoring authorship annotation for <klyachin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/memory/weak_ptr.h')
-rw-r--r--library/cpp/yt/memory/weak_ptr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/yt/memory/weak_ptr.h b/library/cpp/yt/memory/weak_ptr.h
index 683686b955..25a242bb8a 100644
--- a/library/cpp/yt/memory/weak_ptr.h
+++ b/library/cpp/yt/memory/weak_ptr.h
@@ -180,8 +180,8 @@ public:
TIntrusivePtr<T> Lock() const noexcept
{
return T_ && RefCounter()->TryRef()
- ? TIntrusivePtr<T>(T_, false)
- : TIntrusivePtr<T>();
+ ? TIntrusivePtr<T>(T_, false)
+ : TIntrusivePtr<T>();
}
bool IsExpired() const noexcept