Parcourir la source

cmListFileCache: Fix warning about inconsistent use of class/struct

Exposed by Clang trunk.
Tobias Hunger il y a 9 ans
Parent
commit
e1ea1df07e
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  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;