mirror of
https://git.mirrors.martin98.com/https://github.com/google/googletest.git
synced 2025-06-04 11:25:34 +08:00
Fix extra ';' after member function definition
This commit is contained in:
parent
09ffd00153
commit
3abc68be30
@ -188,7 +188,7 @@ TEST(TypeTraits, IsInvocableRV) {
|
|||||||
struct C {
|
struct C {
|
||||||
int operator()() const { return 0; }
|
int operator()() const { return 0; }
|
||||||
void operator()(int) & {}
|
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.
|
// The first overload is callable for const and non-const rvalues and lvalues.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user