aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r--libbuild2/target.ixx5
1 files changed, 2 insertions, 3 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx
index bdfa20f..5432f7c 100644
--- a/libbuild2/target.ixx
+++ b/libbuild2/target.ixx
@@ -138,15 +138,14 @@ namespace build2
inline void match_extra::
init (bool f)
{
+ clear_data ();
fallback = f;
- buffer.clear ();
}
inline void match_extra::
free ()
{
- string s;
- buffer.swap (s);
+ clear_data ();
}
// target