Переглянути джерело

cmListFileCache: Fix warning about inconsistent use of class/struct

Exposed by Clang trunk.
Tobias Hunger 9 роки тому
батько
коміт
e1ea1df07e
1 змінених файлів з 2 додано та 1 видалено
  1. 2 1
      Source/cmListFileCache.h

+ 2 - 1
Source/cmListFileCache.h

@@ -58,8 +58,9 @@ struct cmListFileArgument
   long Line;
 };
 
-struct cmListFileContext
+class cmListFileContext
 {
+public:
   std::string Name;
   std::string FilePath;
   long Line;