• Abseil Team's avatar
    Googletest export · 9518a574
    Abseil Team authored
    Fix mocking method arguments with templated copy constructors.
    
    A previous change removed workarounds for old compilers from googletest and googlemock. Unfortunately, a bit of code that started as a workaround for Symbian's C++ compiler is still needed to avoid copy/move constructor ambiguity when mocking functions with certain argument types.
    
    The test case added by this CL is extracted from Chrome's codebase, and was discovered while attempting to roll googletest.
    
    PiperOrigin-RevId: 229801765
    9518a574
gmock-function-mocker_test.cc 20.1 KB