diff options
Diffstat (limited to 'build2/bin')
-rw-r--r-- | build2/bin/target | 2 | ||||
-rw-r--r-- | build2/bin/target.cxx | 2 |
2 files changed, 3 insertions, 1 deletions
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". } |