Skip to content

Commit ce1faec

Browse files
committed
[Serialization] Fix -Wpessimizing-move after 9cdb825
1 parent e55bda0 commit ce1faec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Serialization/ASTWriterDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2131,7 +2131,7 @@ getFunctionDeclAbbrev(serialization::DeclCode Code) {
21312131
//
21322132
// Add an AbbrevOp for 'size then elements' and use it here.
21332133
Abv->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Array));
2134-
return std::move(Abv);
2134+
return Abv;
21352135
}
21362136

21372137
template <FunctionDecl::TemplatedKind Kind>

0 commit comments

Comments
 (0)