Add missing <functional> include

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.
pull/2332/head
Adam Badura 6 years ago
parent f899e81e43
commit 1f809607b5
  1. 1
      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>

Loading…
Cancel
Save