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).

This commit is contained in:
zhanyong.wan
2009-08-07 07:15:56 +00:00
parent a18423e0ee
commit 9571b28675
5 changed files with 27 additions and 53 deletions

View File

@@ -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();
}
}
};