diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-05-11 12:36:05 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-05-11 12:36:05 (GMT) |
commit | cd0cd47416ef05f1d447885e960062ac8cbc83c1 (patch) | |
tree | a8d5d994cd45a018c93df5a20d93d265ba34ce51 /Source | |
parent | d5415ec4a7be9901ff726dc156c2f9aff425cdd1 (diff) | |
download | CMake-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')
-rw-r--r-- | Source/cmListFileCache.h | 2 |
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; }; |