Silence a signedness-comparison warning in gmock-actions_test.

include <functional> when using std::function in gmock.
This commit is contained in:
kosak
2014-11-17 01:08:51 +00:00
parent 3d1c78b2bf
commit 389bad61e2
3 changed files with 10 additions and 2 deletions

View File

@@ -43,6 +43,10 @@
#include "gmock/gmock-spec-builders.h"
#include "gmock/internal/gmock-internal-utils.h"
#if GTEST_HAS_STD_FUNCTION_
# include <functional>
#endif
namespace testing {
namespace internal {

View File

@@ -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 <functional>
#endif
namespace testing {
namespace internal {