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/cc/compile-rule.hxx | 2 +- libbuild2/cc/link-rule.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libbuild2/cc') diff --git a/libbuild2/cc/compile-rule.hxx b/libbuild2/cc/compile-rule.hxx index 051b2e3..d6cb002 100644 --- a/libbuild2/cc/compile-rule.hxx +++ b/libbuild2/cc/compile-rule.hxx @@ -36,7 +36,7 @@ namespace build2 size_t copied; // First copied-over bmi*{}, 0 if none. }; - class LIBBUILD2_CC_SYMEXPORT compile_rule: public rule, virtual common + class LIBBUILD2_CC_SYMEXPORT compile_rule: public simple_rule, virtual common { public: compile_rule (data&&); diff --git a/libbuild2/cc/link-rule.hxx b/libbuild2/cc/link-rule.hxx index ce514b5..7a357a6 100644 --- a/libbuild2/cc/link-rule.hxx +++ b/libbuild2/cc/link-rule.hxx @@ -20,7 +20,7 @@ namespace build2 { namespace cc { - class LIBBUILD2_CC_SYMEXPORT link_rule: public rule, virtual common + class LIBBUILD2_CC_SYMEXPORT link_rule: public simple_rule, virtual common { public: link_rule (data&&); -- cgit v1.1