mirror of
https://git.mirrors.martin98.com/https://github.com/google/googletest.git
synced 2025-07-30 06:52:02 +08:00
Merge pull request #4765 from qubka:main
PiperOrigin-RevId: 763814429 Change-Id: Id80dc3c910aa955fda6b9ece1aee17032e28130d
This commit is contained in:
commit
7da55820cc
@ -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