Deal with MCVS warnings

This commit is contained in:
Gennadiy Civil 2018-04-06 10:01:40 -04:00
parent 427b6a297f
commit b5c87fbcb6

View File

@ -48,6 +48,12 @@
namespace testing {
namespace internal {
// Silence C4100 (unreferenced formal
// parameter) for MSVC
#ifdef _MSC_VER
# pragma warning(disable:4100)
#endif
// Joins a vector of strings as if they are fields of a tuple; returns
// the joined string.
GTEST_API_ std::string JoinAsTuple(const Strings& fields);