aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/install-rule.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-04-06 15:33:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-04-06 15:33:35 +0200
commit33527f36068034fd0bb8d1db944614dbc7f96c27 (patch)
treeb5e80402205ceb0a94645cc6b2871861f7c2e004 /libbuild2/cc/install-rule.hxx
parentd1f436049f0fba43ed1d5e5d8e490b7873009403 (diff)
Work around Clang warnings
Diffstat (limited to 'libbuild2/cc/install-rule.hxx')
-rw-r--r--libbuild2/cc/install-rule.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/cc/install-rule.hxx b/libbuild2/cc/install-rule.hxx
index 70ee711..6998d63 100644
--- a/libbuild2/cc/install-rule.hxx
+++ b/libbuild2/cc/install-rule.hxx
@@ -43,6 +43,8 @@ namespace build2
virtual bool
match (action, target&, const string&, match_extra&) const override;
+ using file_rule::match; // Make Clang happy.
+
virtual recipe
apply (action, target&) const override;
@@ -78,6 +80,8 @@ namespace build2
virtual bool
match (action, target&, const string&, match_extra&) const override;
+ using alias_rule::match; // Make Clang happy.
+
private:
const link_rule& link_;
};