From: Nicolas Despres Date: Tue, 3 Jan 2012 13:51:17 +0000 (+0100) Subject: Fix warning about class previously declared as struct. X-Git-Tag: release-120715~164^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=edc255c6909330b7ee007a645e5806d13e263046;p=platform%2Fupstream%2Fninja.git Fix warning about class previously declared as struct. Reported by clang++. --- diff --git a/src/graph.h b/src/graph.h index 20765a3..0514c0c 100644 --- a/src/graph.h +++ b/src/graph.h @@ -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_;