summaryrefslogtreecommitdiffstats
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.h b/src/build.h
index ab59f0c..410d4a5 100644
--- a/src/build.h
+++ b/src/build.h
@@ -108,7 +108,7 @@ private:
kWantToFinish
};
- void EdgeWanted(Edge* edge);
+ void EdgeWanted(const Edge* edge);
bool EdgeMaybeReady(map<Edge*, Want>::iterator want_e, string* err);
/// Submits a ready edge as a candidate for execution.
@@ -138,7 +138,7 @@ private:
/// RealCommandRunner is an implementation that actually runs commands.
struct CommandRunner {
virtual ~CommandRunner() {}
- virtual bool CanRunMore() = 0;
+ virtual bool CanRunMore() const = 0;
virtual bool StartCommand(Edge* edge) = 0;
/// The result of waiting for a command.