From 4910d29e1e1eed4f6946871168a234be5b490163 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Tue, 10 Nov 2009 19:16:27 +0000 Subject: [PATCH] Makes gmock-all.cc catch errors in fuse_gmock.py. --- src/gmock-all.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gmock-all.cc b/src/gmock-all.cc index a14c397d..c9223fce 100644 --- a/src/gmock-all.cc +++ b/src/gmock-all.cc @@ -35,6 +35,11 @@ // purpose is to allow a user to build Google Mock by compiling this // file alone. +// This line ensures that gmock.h can be compiled on its own, even +// when it's fused. +#include + +// The following lines pull in the real gmock *.cc files. #include "src/gmock-cardinalities.cc" #include "src/gmock-internal-utils.cc" #include "src/gmock-matchers.cc"