From 4b15244f65eb246d4e5d98ebfc1aa3137dc7275e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Jul 2020 09:30:52 +0200 Subject: Add ability to extend rule interface in source-compatible manner --- libbuild2/bin/rule.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/bin') diff --git a/libbuild2/bin/rule.hxx b/libbuild2/bin/rule.hxx index 074b46d..51693a7 100644 --- a/libbuild2/bin/rule.hxx +++ b/libbuild2/bin/rule.hxx @@ -18,7 +18,7 @@ namespace build2 // "Fail rule" for obj{}, [h]bmi{}, and libu{} that issues diagnostics if // someone tries to build any of these groups directly. // - class fail_rule: public rule + class fail_rule: public simple_rule { public: fail_rule () {} @@ -32,7 +32,7 @@ namespace build2 // Pass-through to group members rule, similar to alias. // - class LIBBUILD2_BIN_SYMEXPORT lib_rule: public rule + class LIBBUILD2_BIN_SYMEXPORT lib_rule: public simple_rule { public: lib_rule () {} -- cgit v1.1