Silence -Wlogical-op-parentheses warning NFC
llvm-svn: 300324
This commit is contained in:
parent
75aa1a9a49
commit
21d5d4fbbf
|
|
@ -123,7 +123,7 @@ void ForwardingReferenceOverloadCheck::check(
|
|||
(OtherCtor->isCopyConstructor() ? EnabledCopy : EnabledMove) = true;
|
||||
}
|
||||
}
|
||||
bool Copy = !EnabledMove && !DisabledMove && !DisabledCopy || EnabledCopy;
|
||||
bool Copy = (!EnabledMove && !DisabledMove && !DisabledCopy) || EnabledCopy;
|
||||
bool Move = !DisabledMove || EnabledMove;
|
||||
if (!Copy && !Move)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue