diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-07-14 12:52:11 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-07-14 12:52:11 +0200 |
commit | ca6aef882b30e3aa07645a9066950ee6ef0e62b7 (patch) | |
tree | 1c334ce293bf988a944d005ed741ef178185a16f | |
parent | 77a5d8345a9e30d77d934e9972ddf7cbd3afbcfd (diff) |
Fix Clang warning
-rw-r--r-- | libbuild2/cc/link-rule.hxx | 2 | ||||
-rw-r--r-- | libbuild2/rule.hxx | 2 |
2 files changed, 4 insertions, 0 deletions
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 |