From 9571b28675a5a602ed3c8a7acf270d03aca69c96 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Fri, 7 Aug 2009 07:15:56 +0000 Subject: Removes duplicated definition of SetArgumentPointee (by Vlad Losev); Makes gmock compilable on platforms that don't have ::abort() (by Acadeli Checa); Fixes compatibility with Symbian's STLport (by Acadeli Checa). --- src/gmock-internal-utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gmock-internal-utils.cc') diff --git a/src/gmock-internal-utils.cc b/src/gmock-internal-utils.cc index 0e693c70..e72e019b 100644 --- a/src/gmock-internal-utils.cc +++ b/src/gmock-internal-utils.cc @@ -80,7 +80,7 @@ class GoogleTestFailureReporter : public FailureReporterInterface { AssertHelper(type == FATAL ? TPRT_FATAL_FAILURE : TPRT_NONFATAL_FAILURE, file, line, message.c_str()) = Message(); if (type == FATAL) { - abort(); + posix::Abort(); } } }; -- cgit v1.2.3