diff options
author | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-23 15:12:17 (GMT) |
---|---|---|
committer | Vitaly Stakhovsky <vvs31415@gitlab.org> | 2019-01-23 15:19:30 (GMT) |
commit | 99337d345ba9d3379135c90854be23403fa8e274 (patch) | |
tree | c7ccda407d2c3627561574f5ea3c6fe5353e31e5 /Source/cmCPluginAPI.cxx | |
parent | a7f5cd45e135dd51d67176fc40e2d769ac5f7db8 (diff) | |
download | CMake-99337d345ba9d3379135c90854be23403fa8e274.zip CMake-99337d345ba9d3379135c90854be23403fa8e274.tar.gz CMake-99337d345ba9d3379135c90854be23403fa8e274.tar.bz2 |
cmSystemTools::Error(): new overload accepting std::string
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 8ed43f9..811af56 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -720,7 +720,7 @@ void CCONV cmSourceFileSetName(void* arg, const char* name, const char* dir, ext != headerExts.end(); ++ext) { e << " ." << *ext; } - cmSystemTools::Error(e.str().c_str()); + cmSystemTools::Error(e.str()); } void CCONV cmSourceFileSetName2(void* arg, const char* name, const char* dir, |