Fix warning about class previously declared as struct.
authorNicolas Despres <nicolas.despres@gmail.com>
Tue, 3 Jan 2012 13:51:17 +0000 (14:51 +0100)
committerNicolas Despres <nicolas.despres@gmail.com>
Tue, 3 Jan 2012 13:51:17 +0000 (14:51 +0100)
Reported by clang++.

src/graph.h

index 20765a3..0514c0c 100644 (file)
@@ -112,7 +112,7 @@ struct Rule {
   // TODO: private:
 
   // Allow the parsers to reach into this object and fill out its fields.
-  friend class ManifestParser;
+  friend struct ManifestParser;
 
   string name_;