From 0b6d567619fe353c2de5bc6d6f059cd7cb79e19a Mon Sep 17 00:00:00 2001 From: Malcolm Parsons Date: Thu, 9 Apr 2020 09:47:57 +0100 Subject: Remove redundant .c_str() --- googletest/src/gtest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index 4c8b42f9..53246746 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -4091,7 +4091,7 @@ void XmlUnitTestResultPrinter::OutputXmlTestInfo(::std::ostream* stream, part.line_number()); const std::string summary = location + "\n" + part.summary(); *stream << " "; const std::string detail = location + "\n" + part.message(); OutputXmlCDataSection(stream, RemoveInvalidXmlCharacters(detail).c_str()); -- cgit v1.2.3