From 2cccbe9150669f9df00f439b8db03054a97ed4bb Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 14 Oct 2016 14:59:35 +0200 Subject: Implement auxiliary data storage pad in target --- build2/target.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'build2/target.cxx') 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 (); } -- cgit v1.1