1
0
Эх сурвалжийг харах

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 жил өмнө
parent
commit
cd0cd47416

+ 1 - 1
Source/cmListFileCache.h

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