summaryrefslogtreecommitdiff
path: root/Source/cmGlobVerificationManager.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-23 10:12:17 -0500
committerVitaly Stakhovsky <vvs31415@gitlab.org>2019-01-23 10:19:30 -0500
commit99337d345ba9d3379135c90854be23403fa8e274 (patch)
treec7ccda407d2c3627561574f5ea3c6fe5353e31e5 /Source/cmGlobVerificationManager.cxx
parenta7f5cd45e135dd51d67176fc40e2d769ac5f7db8 (diff)
downloadcmake-99337d345ba9d3379135c90854be23403fa8e274.tar.gz
cmSystemTools::Error(): new overload accepting std::string
Diffstat (limited to 'Source/cmGlobVerificationManager.cxx')
-rw-r--r--Source/cmGlobVerificationManager.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobVerificationManager.cxx b/Source/cmGlobVerificationManager.cxx
index e8959f2a06..478f725d57 100644
--- a/Source/cmGlobVerificationManager.cxx
+++ b/Source/cmGlobVerificationManager.cxx
@@ -165,7 +165,7 @@ void cmGlobVerificationManager::AddCacheEntry(
message << "\n " << std::get<0>(bt);
std::get<1>(bt).PrintTitle(message);
}
- cmSystemTools::Error(message.str().c_str());
+ cmSystemTools::Error(message.str());
} else {
value.Backtraces.emplace_back(variable, backtrace);
}