浏览代码

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;
   long Line;
 };
 };
 
 
-struct cmListFileContext
+class cmListFileContext
 {
 {
+public:
   std::string Name;
   std::string Name;
   std::string FilePath;
   std::string FilePath;
   long Line;
   long Line;