From 33527f36068034fd0bb8d1db944614dbc7f96c27 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 6 Apr 2022 15:33:35 +0200 Subject: Work around Clang warnings --- libbuild2/cc/install-rule.hxx | 4 ++++ 1 file changed, 4 insertions(+) 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_; }; -- cgit v1.1