From ca6aef882b30e3aa07645a9066950ee6ef0e62b7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 14 Jul 2020 12:52:11 +0200 Subject: Fix Clang warning --- libbuild2/cc/link-rule.hxx | 2 ++ libbuild2/rule.hxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'libbuild2') diff --git a/libbuild2/cc/link-rule.hxx b/libbuild2/cc/link-rule.hxx index 7a357a6..db48160 100644 --- a/libbuild2/cc/link-rule.hxx +++ b/libbuild2/cc/link-rule.hxx @@ -49,6 +49,8 @@ namespace build2 target_state perform_clean (action, const target&) const; + using simple_rule::match; // To make Clang happy. + private: friend class install_rule; friend class libux_install_rule; diff --git a/libbuild2/rule.hxx b/libbuild2/rule.hxx index 298ed6b..ae9c865 100644 --- a/libbuild2/rule.hxx +++ b/libbuild2/rule.hxx @@ -179,6 +179,8 @@ namespace build2 virtual bool match (action, target&, const string&) const override; + using simple_rule::match; // To make Clang happy. + // Dump support. // virtual void -- cgit v1.1