aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.ixx')
-rw-r--r--libbuild2/target.ixx16
1 files changed, 16 insertions, 0 deletions
diff --git a/libbuild2/target.ixx b/libbuild2/target.ixx
index 2d1906e..1c8dd8d 100644
--- a/libbuild2/target.ixx
+++ b/libbuild2/target.ixx
@@ -9,6 +9,22 @@
namespace build2
{
+ // match_extra
+ //
+ inline void match_extra::
+ init (bool f)
+ {
+ fallback = f;
+ buffer.clear ();
+ }
+
+ inline void match_extra::
+ free ()
+ {
+ string s;
+ buffer.swap (s);
+ }
+
// target
//
inline const string* target::