From cd0cd47416ef05f1d447885e960062ac8cbc83c1 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Fri, 11 May 2007 08:36:05 -0400 Subject: 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 --- Source/cmListFileCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Arguments; - const char* FilePath; + std::string FilePath; long Line; }; -- cgit v0.12