From 22278dfe43f8d3a492d643671b8926b77582a583 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 24 Jan 2017 16:16:48 +0300 Subject: Add default constructors to *_rule classes to make older clang happy --- build2/rule | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'build2/rule') diff --git a/build2/rule b/build2/rule index fbf3dcc..d01df6b 100644 --- a/build2/rule +++ b/build2/rule @@ -48,6 +48,8 @@ namespace build2 class file_rule: public rule { public: + file_rule () {} + virtual match_result match (action, target&, const string& hint) const override; @@ -60,6 +62,8 @@ namespace build2 class alias_rule: public rule { public: + alias_rule () {} + virtual match_result match (action, target&, const string& hint) const override; @@ -72,6 +76,8 @@ namespace build2 class fsdir_rule: public rule { public: + fsdir_rule () {} + virtual match_result match (action, target&, const string& hint) const override; @@ -92,6 +98,8 @@ namespace build2 class fallback_rule: public build2::rule { public: + fallback_rule () {} + virtual match_result match (action, target&, const string&) const override {return true;} -- cgit v1.1