mirror of
https://github.com/google/googletest.git
synced 2025-12-01 08:37:33 -05:00
Silence a signedness-comparison warning in gmock-actions_test.
include <functional> when using std::function in gmock.
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user