Makes the cmake script work on Solaris and AIX (by Hady Zalek).

This commit is contained in:
zhanyong.wan
2010-03-25 18:36:31 +00:00
parent 17e4860871
commit 92344b762a
2 changed files with 38 additions and 25 deletions

View File

@@ -797,7 +797,7 @@ Derived* CheckedDowncastToActualType(Base* base) {
return dynamic_cast<Derived*>(base); // NOLINT
#else
return static_cast<Derived*>(base); // Poor man's downcast.
#endif // GTEST_HAS_RTTI
#endif
}
#if GTEST_HAS_STREAM_REDIRECTION_