Sfoglia il codice sorgente

cmListFileCache: Fix warning about inconsistent use of class/struct

Exposed by Clang trunk.
Tobias Hunger 10 anni fa
parent
commit
e1ea1df07e
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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;