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
This commit is contained in:
Alexander Neundorf 2007-05-11 08:36:05 -04:00
parent d5415ec4a7
commit cd0cd47416
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ struct cmListFileFunction
{
std::string Name;
std::vector<cmListFileArgument> Arguments;
const char* FilePath;
std::string FilePath;
long Line;
};