diff options
Diffstat (limited to 'build2/depdb.ixx')
-rw-r--r-- | build2/depdb.ixx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build2/depdb.ixx b/build2/depdb.ixx index c8b187d..46fdb28 100644 --- a/build2/depdb.ixx +++ b/build2/depdb.ixx @@ -4,6 +4,15 @@ namespace build2 { + inline depdb_base:: + ~depdb_base () + { + if (state_ != state::write) + is_.~ifdstream (); + else + os_.~ofdstream (); + } + #ifndef BUILD2_MTIME_CHECK inline void depdb:: verify (const path_type&, timestamp) |