diff options
Diffstat (limited to 'include/gmock/gmock-generated-function-mockers.h.pump')
-rw-r--r-- | include/gmock/gmock-generated-function-mockers.h.pump | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/gmock/gmock-generated-function-mockers.h.pump b/include/gmock/gmock-generated-function-mockers.h.pump index 5e839625..59284457 100644 --- a/include/gmock/gmock-generated-function-mockers.h.pump +++ b/include/gmock/gmock-generated-function-mockers.h.pump @@ -268,13 +268,13 @@ class MockFunction<R($ArgTypes)> { MOCK_METHOD$i[[]]_T(Call, R($ArgTypes)); -#if GTEST_LANG_CXX11 +#if GTEST_HAS_STD_FUNCTION_ std::function<R($ArgTypes)> AsStdFunction() { return [this]($ArgDecls) { return this->Call($ArgNames); }; } -#endif // GTEST_LANG_CXX11 +#endif // GTEST_HAS_STD_FUNCTION_ private: GTEST_DISALLOW_COPY_AND_ASSIGN_(MockFunction); |