From ea2f77171f5ee3b704e4acdf925c989c070c563f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 15 May 2017 13:59:08 +0200 Subject: Update all prerequisites before extracting header dependencies --- build2/depdb.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'build2/depdb.hxx') 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. -- cgit v1.1