summaryrefslogtreecommitdiffstats
path: root/src/ninja.h
diff options
context:
space:
mode:
authorEvan Martin <martine@danga.com>2011-05-01 02:30:30 (GMT)
committerEvan Martin <martine@danga.com>2011-05-01 02:51:45 (GMT)
commitb95343a7745c7b717d039fc532f857acd5796874 (patch)
tree6ce8a091430dfb6f0f22cc3f2517ff5f0327eb5e /src/ninja.h
parenta3aa545229420e8e816ef5983a0983ab590d0ca4 (diff)
downloadNinja-b95343a7745c7b717d039fc532f857acd5796874.zip
Ninja-b95343a7745c7b717d039fc532f857acd5796874.tar.gz
Ninja-b95343a7745c7b717d039fc532f857acd5796874.tar.bz2
add test for RootNodes(); fix comment
Diffstat (limited to 'src/ninja.h')
-rw-r--r--src/ninja.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninja.h b/src/ninja.h
index 1ff4e32..180f90c 100644
--- a/src/ninja.h
+++ b/src/ninja.h
@@ -88,7 +88,7 @@ struct State {
Node* LookupNode(const string& path);
void AddIn(Edge* edge, const string& path);
void AddOut(Edge* edge, const string& path);
- /// @return the root node(s) of the graph. (Root nodes have no input edges).
+ /// @return the root node(s) of the graph. (Root nodes have no output edges).
/// @param error where to write the error message if somethings went wrong.
vector<Node*> RootNodes(string* error);