summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2019-05-22 13:16:42 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-22 14:51:06 (GMT)
commite884b1b69365e9dc15fff572a6ff2237c1bb7644 (patch)
treebad78de74a06120f8bcaa6e5966f38f1a5e6e180 /Source/CursesDialog
parent01b6a2c4ee8930e60459b46b4d751148ce28d5a9 (diff)
downloadCMake-e884b1b69365e9dc15fff572a6ff2237c1bb7644.zip
CMake-e884b1b69365e9dc15fff572a6ff2237c1bb7644.tar.gz
CMake-e884b1b69365e9dc15fff572a6ff2237c1bb7644.tar.bz2
cmSystemTools::Error(): remove const char* overload
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r--Source/CursesDialog/cmCursesCacheEntryComposite.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
index e7ed097..c1dd591 100644
--- a/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
+++ b/Source/CursesDialog/cmCursesCacheEntryComposite.cxx
@@ -83,7 +83,7 @@ cmCursesCacheEntryComposite::cmCursesCacheEntryComposite(
break;
}
case cmStateEnums::UNINITIALIZED:
- cmSystemTools::Error("Found an undefined variable: ", key.c_str());
+ cmSystemTools::Error("Found an undefined variable: " + key);
break;
default:
// TODO : put warning message here