Преглед изворни кода

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;