summaryrefslogtreecommitdiffstats
path: root/googlemock
diff options
context:
space:
mode:
authorAdam Badura <adam.f.badura@gmail.com>2019-07-11 07:49:59 (GMT)
committerAdam Badura <adam.f.badura@gmail.com>2019-07-16 21:15:51 (GMT)
commit1f809607b516cfe48a73b82c0f285ebd041c2763 (patch)
treede663f8686b07c683944fe87e9b77c7d06661363 /googlemock
parentf899e81e43407c9a3433d9ad3a0a8f64e450ba44 (diff)
downloadgoogletest-1f809607b516cfe48a73b82c0f285ebd041c2763.zip
googletest-1f809607b516cfe48a73b82c0f285ebd041c2763.tar.gz
googletest-1f809607b516cfe48a73b82c0f285ebd041c2763.tar.bz2
Add missing <functional> includerefs/pull/2332/head
gmock-spec-builders.h uses std::function (in MockFunction) but did not include <functional> to provide it. Apparently, it worked since the header must have been included by something else but better be safe than sorry.
Diffstat (limited to 'googlemock')
-rw-r--r--googlemock/include/gmock/gmock-spec-builders.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/googlemock/include/gmock/gmock-spec-builders.h b/googlemock/include/gmock/gmock-spec-builders.h
index 1f261bd..255d6ad 100644
--- a/googlemock/include/gmock/gmock-spec-builders.h
+++ b/googlemock/include/gmock/gmock-spec-builders.h
@@ -61,6 +61,7 @@
#ifndef GMOCK_INCLUDE_GMOCK_GMOCK_SPEC_BUILDERS_H_
#define GMOCK_INCLUDE_GMOCK_GMOCK_SPEC_BUILDERS_H_
+#include <functional>
#include <map>
#include <memory>
#include <set>