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/bin/rule | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build2/bin') diff --git a/build2/bin/rule b/build2/bin/rule index f733e5a..5031be1 100644 --- a/build2/bin/rule +++ b/build2/bin/rule @@ -17,6 +17,8 @@ namespace build2 class obj_rule: public rule { public: + obj_rule () {} + virtual match_result match (action, target&, const string& hint) const override; @@ -27,6 +29,8 @@ namespace build2 class lib_rule: public rule { public: + lib_rule () {} + virtual match_result match (action, target&, const string& hint) const override; -- cgit v1.1