diff options
author | Konstantin Kharlamov <Hi-Angel@yandex.ru> | 2019-10-22 18:43:13 (GMT) |
---|---|---|
committer | Konstantin Kharlamov <Hi-Angel@yandex.ru> | 2019-11-20 21:40:11 (GMT) |
commit | 2cb0370e9ac15151941b451ff5fd5a440527209a (patch) | |
tree | e337ef8f19993dacf6b00c747671b1c78fe9b911 /src/graph.cc | |
parent | 2492fcbd912c8aa8f9e4e2258d9aa1e6f683a992 (diff) | |
download | Ninja-2cb0370e9ac15151941b451ff5fd5a440527209a.zip Ninja-2cb0370e9ac15151941b451ff5fd5a440527209a.tar.gz Ninja-2cb0370e9ac15151941b451ff5fd5a440527209a.tar.bz2 |
graph.cc: constify DependencyScan
Signed-off-by: Konstantin Kharlamov <Hi-Angel@yandex.ru>
Diffstat (limited to 'src/graph.cc')
-rw-r--r-- | src/graph.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graph.cc b/src/graph.cc index 3214513..e24a954 100644 --- a/src/graph.cc +++ b/src/graph.cc @@ -222,8 +222,8 @@ bool DependencyScan::RecomputeOutputsDirty(Edge* edge, Node* most_recent_input, return true; } -bool DependencyScan::RecomputeOutputDirty(Edge* edge, - Node* most_recent_input, +bool DependencyScan::RecomputeOutputDirty(const Edge* edge, + const Node* most_recent_input, const string& command, Node* output) { if (edge->is_phony()) { |