This commit is contained in:
Gennadiy Civil
2018-04-10 16:22:50 -04:00
parent 6ed2d51c44
commit fed44cc0c2
2 changed files with 9 additions and 6 deletions

View File

@@ -82,11 +82,12 @@
namespace testing {
// Silence C4100 (unreferenced formal parameter) for MSVC
// Silence C4100 (unreferenced formal parameter) and 4805
// unsafe mix of type 'const int' and type 'const bool'
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:4100)
# pragma warning(disable:4805)
# pragma warning(disable:4100)
#endif
@@ -2307,7 +2308,7 @@ bool StaticAssertTypeEq() {
GTEST_API_ std::string TempDir();
#ifdef _MSC_VER
# pragma warning(pop)
# pragma warning(pop)
#endif
} // namespace testing