diff options
author | acid <acid@yandex-team.ru> | 2022-02-10 16:50:48 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:48 +0300 |
commit | 135b277c8122a631eadd1af0af8a69ed972fdf7b (patch) | |
tree | 0b1c946d0c519b2dfc6a45d569daeefbf6c293c3 /library/cpp/yt/misc | |
parent | e7c30eecd571c69c5b7395fd66ff676f65f93cc7 (diff) | |
download | ydb-135b277c8122a631eadd1af0af8a69ed972fdf7b.tar.gz |
Restoring authorship annotation for <acid@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/yt/misc')
-rw-r--r-- | library/cpp/yt/misc/guid-inl.h | 8 | ||||
-rw-r--r-- | library/cpp/yt/misc/guid.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/yt/misc/guid-inl.h b/library/cpp/yt/misc/guid-inl.h index 2d94b5701b..eefc5a9a71 100644 --- a/library/cpp/yt/misc/guid-inl.h +++ b/library/cpp/yt/misc/guid-inl.h @@ -26,10 +26,10 @@ Y_FORCE_INLINE bool TGuid::IsEmpty() const } Y_FORCE_INLINE TGuid::operator bool() const -{ - return !IsEmpty(); -} - +{ + return !IsEmpty(); +} + //////////////////////////////////////////////////////////////////////////////// Y_FORCE_INLINE bool operator == (TGuid lhs, TGuid rhs) diff --git a/library/cpp/yt/misc/guid.h b/library/cpp/yt/misc/guid.h index ec4ba3526a..f16a24d5d0 100644 --- a/library/cpp/yt/misc/guid.h +++ b/library/cpp/yt/misc/guid.h @@ -59,9 +59,9 @@ struct TGuid //! Checks if TGuid is zero. bool IsEmpty() const; - //! Converts TGuid to bool, returns |false| iff TGuid is zero. - explicit operator bool() const; - + //! Converts TGuid to bool, returns |false| iff TGuid is zero. + explicit operator bool() const; + //! Creates a new instance. static TGuid Create(); |