summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-01-29 14:16:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-01-29 14:17:51 (GMT)
commit90ac5e6384735deb0ac523684010b2f4701d4f4d (patch)
tree2c12e634eb7c95d4dfdf0221ae1e6b99f531b7b2 /Source/cmLocalGenerator.cxx
parente7be5638a04ad6e47aafaed29139c6382fdea1cb (diff)
parent186d9b083db0e3fc77d9d92821e3cf45e06271da (diff)
downloadCMake-90ac5e6384735deb0ac523684010b2f4701d4f4d.zip
CMake-90ac5e6384735deb0ac523684010b2f4701d4f4d.tar.gz
CMake-90ac5e6384735deb0ac523684010b2f4701d4f4d.tar.bz2
Merge topic 'message-stdstring'
186d9b083d cmSystemTools::Message: Add overload accepting std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2869
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 1122924..24bc7fa 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -2771,7 +2771,7 @@ bool cmLocalGenerator::CheckDefinition(std::string const& define) const
<< "CMake is dropping a preprocessor definition: " << define << "\n"
<< "Consider defining the macro in a (configured) header file.\n";
/* clang-format on */
- cmSystemTools::Message(e.str().c_str());
+ cmSystemTools::Message(e.str());
return false;
}
}
@@ -2786,7 +2786,7 @@ bool cmLocalGenerator::CheckDefinition(std::string const& define) const
<< "CMake is dropping a preprocessor definition: " << define << "\n"
<< "Consider defining the macro in a (configured) header file.\n";
/* clang-format on */
- cmSystemTools::Message(e.str().c_str());
+ cmSystemTools::Message(e.str());
return false;
}