Skip to content

Commit 7e4fd8b

Browse files
abogutskiyrobot-piglet
authored andcommitted
Fix clang logical-op-parentheses warning
No description --- 687cd74eb85cc26a02a9e2536693ad9c9d710416 Pull Request resolved: ytsaurus/ytsaurus#795
1 parent e0af7b4 commit 7e4fd8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

yt/yt/client/chunk_client/chunk_replica-inl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,8 @@ inline bool IsErasureChunkId(TChunkId id)
304304
inline bool IsErasureChunkPartType(NObjectClient::EObjectType type)
305305
{
306306
return
307-
type >= NObjectClient::MinErasureChunkPartType && type <= NObjectClient::MaxErasureChunkPartType ||
308-
type >= NObjectClient::MinErasureJournalChunkPartType && type <= NObjectClient::MaxErasureJournalChunkPartType;
307+
(type >= NObjectClient::MinErasureChunkPartType && type <= NObjectClient::MaxErasureChunkPartType) ||
308+
(type >= NObjectClient::MinErasureJournalChunkPartType && type <= NObjectClient::MaxErasureJournalChunkPartType);
309309
}
310310

311311
inline bool IsErasureChunkPartId(TChunkId id)

0 commit comments

Comments
 (0)