We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8adae60 commit 11d5fa6Copy full SHA for 11d5fa6
clang/lib/Sema/SemaConcept.cpp
@@ -653,7 +653,7 @@ static NormalForm makeCNF(const NormalizedConstraint &Normalized) {
653
if (Normalized.getCompoundKind() == NormalizedConstraint::CCK_Conjunction) {
654
LCNF.reserve(LCNF.size() + RCNF.size());
655
while (!RCNF.empty())
656
- LCNF.push_back(std::move(RCNF.pop_back_val()));
+ LCNF.push_back(RCNF.pop_back_val());
657
return LCNF;
658
}
659
@@ -682,7 +682,7 @@ static NormalForm makeDNF(const NormalizedConstraint &Normalized) {
682
if (Normalized.getCompoundKind() == NormalizedConstraint::CCK_Disjunction) {
683
LDNF.reserve(LDNF.size() + RDNF.size());
684
while (!RDNF.empty())
685
- LDNF.push_back(std::move(RDNF.pop_back_val()));
+ LDNF.push_back(RDNF.pop_back_val());
686
return LDNF;
687
688
0 commit comments