Skip to content

Commit

Permalink
[Clang] Fix compilation with GCC 7.5
Browse files Browse the repository at this point in the history
Fixes #73628
  • Loading branch information
cor3ntin committed Nov 28, 2023
1 parent facead6 commit 4142a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Sema/SemaDeclCXX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17299,7 +17299,7 @@ bool Sema::EvaluateStaticAssertMessageAsString(Expr *Message,
OverloadCandidateSet::CSK_Normal);
if (MemberLookup.empty())
return std::nullopt;
return MemberLookup;
return std::move(MemberLookup);
};

bool SizeNotFound, DataNotFound;
Expand Down

0 comments on commit 4142a64

Please sign in to comment.