summaryrefslogtreecommitdiffstats
path: root/Source/cmMessenger.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmMessenger.cxx')
-rw-r--r--Source/cmMessenger.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMessenger.cxx b/Source/cmMessenger.cxx
index cae7216..ff513be 100644
--- a/Source/cmMessenger.cxx
+++ b/Source/cmMessenger.cxx
@@ -108,7 +108,7 @@ static void printMessageText(std::ostream& msg, std::string const& text)
msg << ":\n";
cmDocumentationFormatter formatter;
formatter.SetIndent(2u);
- formatter.PrintFormatted(msg, text.c_str());
+ formatter.PrintFormatted(msg, text);
}
static void displayMessage(MessageType t, std::ostringstream& msg)