summaryrefslogtreecommitdiffstats
path: root/src/ninja_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ninja_test.cc')
-rw-r--r--src/ninja_test.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/ninja_test.cc b/src/ninja_test.cc
index b0c19dd..7e8bdc0 100644
--- a/src/ninja_test.cc
+++ b/src/ninja_test.cc
@@ -23,15 +23,6 @@ Node* StateTestWithBuiltinRules::GetNode(const string& path) {
return state_.GetNode(path);
}
-void StateTestWithBuiltinRules::ResetDirty() {
- for (StatCache::Paths::iterator i = state_.stat_cache_.paths_.begin();
- i != state_.stat_cache_.paths_.end(); ++i) {
- Node* node = i->second->node_;
- // Mark node dirty if we have a way to rebuild it.
- node->dirty_ = node->in_edge_ != NULL;
- }
-}
-
TEST(State, Basic) {
State state;
Rule* rule = new Rule("cat");