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/bin/target | 2 +- build2/bin/target.cxx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'build2/bin') diff --git a/build2/bin/target b/build2/bin/target index 849316e..0a324a5 100644 --- a/build2/bin/target +++ b/build2/bin/target @@ -101,7 +101,7 @@ namespace build2 libs* s {nullptr}; virtual void - reset (action_type); + reset (action_type) override; public: static const target_type static_type; diff --git a/build2/bin/target.cxx b/build2/bin/target.cxx index d78d34c..f2ebd05 100644 --- a/build2/bin/target.cxx +++ b/build2/bin/target.cxx @@ -226,6 +226,8 @@ namespace build2 void lib:: reset (action_type) { + clear_data (); + // Don't clear prerequisite_targets since it is "given" to our // members to implement "library meta-information protocol". } -- cgit v1.1