diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-28 14:35:51 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-28 14:35:51 (GMT) |
commit | 186d9b083db0e3fc77d9d92821e3cf45e06271da (patch) | |
tree | 0959f75743422467ab83bc128aeaa7003ac780ac /Source/cmLocalGenerator.cxx | |
parent | 1593e16d881bf74fd8981e1290d20f28191f1f0e (diff) | |
download | CMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.zip CMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.tar.gz CMake-186d9b083db0e3fc77d9d92821e3cf45e06271da.tar.bz2 |
cmSystemTools::Message: Add overload accepting std::string
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 62aff99..5b02823 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2752,7 +2752,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; } } @@ -2767,7 +2767,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; } |