aboutsummaryrefslogtreecommitdiff
path: root/build2/install
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-01-24 16:16:48 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-01-24 16:18:31 +0300
commit22278dfe43f8d3a492d643671b8926b77582a583 (patch)
tree6cdd29b008a3614b7589352dc0b99ce610c98e8c /build2/install
parent7d292e2ab53dfc2cf6595f30bcdb6efa4bf260a3 (diff)
Add default constructors to *_rule classes to make older clang happy
Diffstat (limited to 'build2/install')
-rw-r--r--build2/install/rule4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/install/rule b/build2/install/rule
index 1345dbd..aad5ee4 100644
--- a/build2/install/rule
+++ b/build2/install/rule
@@ -19,6 +19,8 @@ namespace build2
class alias_rule: public rule
{
public:
+ alias_rule () {}
+
virtual match_result
match (action, target&, const string&) const override;
@@ -31,6 +33,8 @@ namespace build2
class file_rule: public rule
{
public:
+ file_rule () {}
+
virtual match_result
match (action, target&, const string&) const override;