Fix extra ';' after member function definition

This commit is contained in:
qubka 2025-05-25 10:54:54 +01:00 committed by qubka
parent 09ffd00153
commit 3abc68be30

View File

@ -188,7 +188,7 @@ TEST(TypeTraits, IsInvocableRV) {
struct C {
int operator()() const { return 0; }
void operator()(int) & {}
std::string operator()(int) && { return ""; };
std::string operator()(int) && { return ""; }
};
// The first overload is callable for const and non-const rvalues and lvalues.