diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-15 13:59:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-05-15 19:21:32 +0200 |
commit | ea2f77171f5ee3b704e4acdf925c989c070c563f (patch) | |
tree | 4ef712a1d0b681a57d021ea4267d25ad793da228 /build2/depdb.hxx | |
parent | b83949cefd98b4f077af97afc902d367fffb8c10 (diff) |
Update all prerequisites before extracting header dependencies
Diffstat (limited to 'build2/depdb.hxx')
-rw-r--r-- | build2/depdb.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/build2/depdb.hxx b/build2/depdb.hxx index 9dffa28..b747096 100644 --- a/build2/depdb.hxx +++ b/build2/depdb.hxx @@ -106,13 +106,16 @@ namespace build2 // won't be because of eof. // bool - more () {return state_ == state::read;} + more () const {return state_ == state::read;} bool - reading () {return state_ != state::write;} + reading () const {return state_ != state::write;} bool - writing () {return state_ == state::write;} + writing () const {return state_ == state::write;} + + bool + touched () const {return touch_;} // Write the next line. Note that this switches the database into the // write mode and no further reading will be possible. |