diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-10-14 14:59:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-04 08:29:23 +0200 |
commit | 2cccbe9150669f9df00f439b8db03054a97ed4bb (patch) | |
tree | abe55a7ddabb29e8ddbf287281a4675daff8462f /build2/target.cxx | |
parent | d4a42cdeedabfc05ba4720852c4e924a7e28ef03 (diff) |
Implement auxiliary data storage pad in target
Diffstat (limited to 'build2/target.cxx')
-rw-r--r-- | build2/target.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build2/target.cxx b/build2/target.cxx index cdecfd3..540f4b4 100644 --- a/build2/target.cxx +++ b/build2/target.cxx @@ -48,6 +48,12 @@ namespace build2 // target // + target:: + ~target () + { + clear_data (); + } + void target:: recipe (action_type a, recipe_type r) { @@ -87,6 +93,7 @@ namespace build2 void target:: reset (action_type) { + clear_data (); prerequisite_targets.clear (); } |