diff options
author | ignat <ignat@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:20 +0300 |
commit | 12d7840a194f4a6e4ea77a405f980074cf43e942 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/yt/misc/guid-inl.h | |
parent | c8b279dd21ddcb47e755028d81281f113a0f4a11 (diff) | |
download | ydb-12d7840a194f4a6e4ea77a405f980074cf43e942.tar.gz |
Restoring authorship annotation for <ignat@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/misc/guid-inl.h')
-rw-r--r-- | library/cpp/yt/misc/guid-inl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/yt/misc/guid-inl.h b/library/cpp/yt/misc/guid-inl.h index 5aa081592b..2d94b5701b 100644 --- a/library/cpp/yt/misc/guid-inl.h +++ b/library/cpp/yt/misc/guid-inl.h @@ -32,18 +32,18 @@ Y_FORCE_INLINE TGuid::operator bool() const //////////////////////////////////////////////////////////////////////////////// -Y_FORCE_INLINE bool operator == (TGuid lhs, TGuid rhs) +Y_FORCE_INLINE bool operator == (TGuid lhs, TGuid rhs) { return lhs.Parts64[0] == rhs.Parts64[0] && lhs.Parts64[1] == rhs.Parts64[1]; } -Y_FORCE_INLINE bool operator != (TGuid lhs, TGuid rhs) +Y_FORCE_INLINE bool operator != (TGuid lhs, TGuid rhs) { return !(lhs == rhs); } -Y_FORCE_INLINE bool operator < (TGuid lhs, TGuid rhs) +Y_FORCE_INLINE bool operator < (TGuid lhs, TGuid rhs) { #ifdef __GNUC__ ui64 lhs0 = __builtin_bswap64(lhs.Parts64[0]); |