aboutsummaryrefslogtreecommitdiff
path: root/build2/install/rule
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-17 15:43:47 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:25 +0200
commitfc27ec48c9d63879e4b0f049060e943233cb540d (patch)
tree28e062c8674ad194268100bf48475aecaca4c056 /build2/install/rule
parent8b564b5b8f6d597a9fb76734e759f78c4b1c91da (diff)
Cleanup match_result mess
Diffstat (limited to 'build2/install/rule')
-rw-r--r--build2/install/rule12
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/install/rule b/build2/install/rule
index 4ad91bb..94ce65b 100644
--- a/build2/install/rule
+++ b/build2/install/rule
@@ -20,10 +20,10 @@ namespace build2
{
public:
virtual match_result
- match (action, target&, const string&) const;
+ match (action, target&, const string&) const override;
virtual recipe
- apply (action, target&, const match_result&) const;
+ apply (action, target&) const override;
};
struct install_dir;
@@ -32,7 +32,10 @@ namespace build2
{
public:
virtual match_result
- match (action, target&, const string&) const;
+ match (action, target&, const string&) const override;
+
+ virtual recipe
+ apply (action, target&) const override;
// Return NULL if this prerequisite should be ignored and pointer to its
// target otherwise. The default implementation ignores prerequsites that
@@ -41,9 +44,6 @@ namespace build2
virtual target*
filter (action, target&, prerequisite_member) const;
- virtual recipe
- apply (action, target&, const match_result&) const;
-
// Extra installation hooks.
//
using install_dir = install::install_dir;