summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-05-11 12:36:05 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-05-11 12:36:05 (GMT)
commitcd0cd47416ef05f1d447885e960062ac8cbc83c1 (patch)
treea8d5d994cd45a018c93df5a20d93d265ba34ce51 /Source/cmListFileCache.h
parentd5415ec4a7be9901ff726dc156c2f9aff425cdd1 (diff)
downloadCMake-cd0cd47416ef05f1d447885e960062ac8cbc83c1.zip
CMake-cd0cd47416ef05f1d447885e960062ac8cbc83c1.tar.gz
CMake-cd0cd47416ef05f1d447885e960062ac8cbc83c1.tar.bz2
BUG: const char* FilePath could point to a non-existent std::string for
commands used in a macro, using a std::string instead copies the contents so this works (correct error message) Alex
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 048e04f..039a52d 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -52,7 +52,7 @@ struct cmListFileFunction
{
std::string Name;
std::vector<cmListFileArgument> Arguments;
- const char* FilePath;
+ std::string FilePath;
long Line;
};