summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.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/cmMakefile.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/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index b59a733..9bd3b01 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -322,7 +322,7 @@ void cmMakefile::PrintCommandTrace(const cmListFileFunction& lff) const
msg << " ";
}
msg << ")";
- cmSystemTools::Message(msg.str().c_str());
+ cmSystemTools::Message(msg.str());
}
// Helper class to make sure the call stack is valid.
@@ -1622,7 +1622,7 @@ void cmMakefile::ConfigureSubDirectory(cmMakefile* mf)
if (this->GetCMakeInstance()->GetDebugOutput()) {
std::string msg = " Entering ";
msg += currentStart;
- cmSystemTools::Message(msg.c_str());
+ cmSystemTools::Message(msg);
}
std::string const currentStartFile = currentStart + "/CMakeLists.txt";
@@ -1665,7 +1665,7 @@ void cmMakefile::ConfigureSubDirectory(cmMakefile* mf)
if (this->GetCMakeInstance()->GetDebugOutput()) {
std::string msg = " Returning to ";
msg += this->GetCurrentSourceDirectory();
- cmSystemTools::Message(msg.c_str());
+ cmSystemTools::Message(msg);
}
}