Skip to content

Commit 4142a64

Browse files
committed
[Clang] Fix compilation with GCC 7.5
Fixes #73628
1 parent facead6 commit 4142a64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/SemaDeclCXX.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17299,7 +17299,7 @@ bool Sema::EvaluateStaticAssertMessageAsString(Expr *Message,
1729917299
OverloadCandidateSet::CSK_Normal);
1730017300
if (MemberLookup.empty())
1730117301
return std::nullopt;
17302-
return MemberLookup;
17302+
return std::move(MemberLookup);
1730317303
};
1730417304

1730517305
bool SizeNotFound, DataNotFound;

0 commit comments

Comments
 (0)