summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorVitaly Stakhovsky <vvs31415@gitlab.org>2018-10-26 00:32:01 (GMT)
committerVitaly Stakhovsky <vvs31415@gitlab.org>2018-10-26 10:54:32 (GMT)
commitb2c85cb698a922c0e87eb9f4a266be83625e97b7 (patch)
tree3bf7f22fe48979e92b106c6af45d12d44612fa65 /Source/cmListFileCache.cxx
parente07f147377b73c2d88a6921988c197c3e6a0150e (diff)
downloadCMake-b2c85cb698a922c0e87eb9f4a266be83625e97b7.zip
CMake-b2c85cb698a922c0e87eb9f4a266be83625e97b7.tar.gz
CMake-b2c85cb698a922c0e87eb9f4a266be83625e97b7.tar.bz2
cmLocalGenerator::AppendDefines: Remove const char* overloads
Accept const std::string& arguments only
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index d0495f7..4689f42 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -481,7 +481,7 @@ std::ostream& operator<<(std::ostream& os, BT<std::string> const& s)
}
std::vector<BT<std::string>> ExpandListWithBacktrace(
- const char* list, cmListFileBacktrace const& bt)
+ std::string const& list, cmListFileBacktrace const& bt)
{
std::vector<BT<std::string>> result;
std::vector<std::string> tmp;