From 389bad61e2ebe3e99aaf17cb157f43beeb03ba4d Mon Sep 17 00:00:00 2001 From: kosak Date: Mon, 17 Nov 2014 01:08:51 +0000 Subject: Silence a signedness-comparison warning in gmock-actions_test. include when using std::function in gmock. --- include/gmock/gmock-generated-function-mockers.h.pump | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/gmock/gmock-generated-function-mockers.h.pump') diff --git a/include/gmock/gmock-generated-function-mockers.h.pump b/include/gmock/gmock-generated-function-mockers.h.pump index 59284457..b099676c 100644 --- a/include/gmock/gmock-generated-function-mockers.h.pump +++ b/include/gmock/gmock-generated-function-mockers.h.pump @@ -44,6 +44,10 @@ $var n = 10 $$ The maximum arity we support. #include "gmock/gmock-spec-builders.h" #include "gmock/internal/gmock-internal-utils.h" +#if GTEST_HAS_STD_FUNCTION_ +# include +#endif + namespace testing { namespace internal { -- cgit v1.2.3