Просмотр исходного кода

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

Alexander Neundorf 18 лет назад
Родитель
Сommit
cd0cd47416
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Source/cmListFileCache.h

+ 1 - 1
Source/cmListFileCache.h

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