summaryrefslogtreecommitdiffstats
path: root/Source/cmMessageCommand.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-28 14:35:51 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-28 14:35:51 (GMT)
commit186d9b083db0e3fc77d9d92821e3cf45e06271da (patch)
tree0959f75743422467ab83bc128aeaa7003ac780ac /Source/cmMessageCommand.cxx
parent1593e16d881bf74fd8981e1290d20f28191f1f0e (diff)
downloadCMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.zip
CMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.tar.gz
CMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.tar.bz2
cmSystemTools::Message: Add overload accepting std::string
Diffstat (limited to 'Source/cmMessageCommand.cxx')
-rw-r--r--Source/cmMessageCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx
index 4c26c66..95f5fcb 100644
--- a/Source/cmMessageCommand.cxx
+++ b/Source/cmMessageCommand.cxx
@@ -70,7 +70,7 @@ bool cmMessageCommand::InitialPass(std::vector<std::string> const& args,
if (status) {
this->Makefile->DisplayStatus(message.c_str(), -1);
} else {
- cmSystemTools::Message(message.c_str());
+ cmSystemTools::Message(message);
}
}
if (fatal) {