aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.hxx')
-rw-r--r--libbuild2/rule.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx
index d11f46c..e5e53d1 100644
--- a/libbuild2/rule.hxx
+++ b/libbuild2/rule.hxx
@@ -29,6 +29,11 @@ namespace build2
virtual recipe
apply (action, target&) const = 0;
+
+ rule () = default;
+
+ rule (const rule&) = delete;
+ rule& operator= (const rule&) = delete;
};
// Fallback rule that only matches if the file exists. It will also match