diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-11 14:44:32 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-04-30 16:56:08 +0200 |
commit | a14b9bc18431c6aed8441261d28b6ff20bd25935 (patch) | |
tree | ae1f07caef838b5b03fa3f82a2cfccbb62b24ed3 /build2/depdb.ixx | |
parent | ca0f9c71be279aee845bf5328ac0af8c02c8849e (diff) |
Initial take on header unit and include translation support
Diffstat (limited to 'build2/depdb.ixx')
-rw-r--r-- | build2/depdb.ixx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build2/depdb.ixx b/build2/depdb.ixx index 5ceba5a..80a2ea6 100644 --- a/build2/depdb.ixx +++ b/build2/depdb.ixx @@ -13,6 +13,13 @@ namespace build2 os_.~ofdstream (); } + inline void depdb:: + flush () + { + if (state_ == state::write) + os_.flush (); + } + inline bool depdb:: mtime_check () { |