aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/bin
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-13 09:30:52 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-13 09:30:52 +0200
commit4b15244f65eb246d4e5d98ebfc1aa3137dc7275e (patch)
tree7bb1564772662ef22ea0dc12788938b28213b57c /libbuild2/bin
parentdb73844a1e11787025a8642f69a52b5f9c87aea2 (diff)
Add ability to extend rule interface in source-compatible manner
Diffstat (limited to 'libbuild2/bin')
-rw-r--r--libbuild2/bin/rule.hxx4
1 files changed, 2 insertions, 2 deletions
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 () {}