diff options
author | abogutksiy <bogutskiy.alexandr@gmail.com> | 2024-08-23 11:05:31 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-08-23 11:17:56 +0300 |
commit | 7e4fd8b537c4391893cf62e3feaba46b2e69750e (patch) | |
tree | 8750f1e34ae6500f23270daff1dbe344b22e49fb | |
parent | e0af7b4138f90c77b064224f23b9de68e044f31b (diff) | |
download | ydb-7e4fd8b537c4391893cf62e3feaba46b2e69750e.tar.gz |
Fix clang logical-op-parentheses warning
No description
---
687cd74eb85cc26a02a9e2536693ad9c9d710416
Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/795
-rw-r--r-- | yt/yt/client/chunk_client/chunk_replica-inl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yt/yt/client/chunk_client/chunk_replica-inl.h b/yt/yt/client/chunk_client/chunk_replica-inl.h index 473f6bab15..3e302bf95c 100644 --- a/yt/yt/client/chunk_client/chunk_replica-inl.h +++ b/yt/yt/client/chunk_client/chunk_replica-inl.h @@ -304,8 +304,8 @@ inline bool IsErasureChunkId(TChunkId id) inline bool IsErasureChunkPartType(NObjectClient::EObjectType type) { return - type >= NObjectClient::MinErasureChunkPartType && type <= NObjectClient::MaxErasureChunkPartType || - type >= NObjectClient::MinErasureJournalChunkPartType && type <= NObjectClient::MaxErasureJournalChunkPartType; + (type >= NObjectClient::MinErasureChunkPartType && type <= NObjectClient::MaxErasureChunkPartType) || + (type >= NObjectClient::MinErasureJournalChunkPartType && type <= NObjectClient::MaxErasureJournalChunkPartType); } inline bool IsErasureChunkPartId(TChunkId id) |