From 8b9701d2ad76a9a571c445b318557261a4922758 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 4 Apr 2023 14:10:27 +0200 Subject: Remove global override restriction from config.install.filter --- libbuild2/install/operation.hxx | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) (limited to 'libbuild2/install/operation.hxx') diff --git a/libbuild2/install/operation.hxx b/libbuild2/install/operation.hxx index d71d8f3..bd818b4 100644 --- a/libbuild2/install/operation.hxx +++ b/libbuild2/install/operation.hxx @@ -12,7 +12,7 @@ #include #include -#include // auto_rmfile, entry_type +#include // auto_rmfile namespace build2 { @@ -22,25 +22,11 @@ namespace build2 extern const operation_info op_uninstall; extern const operation_info op_update_for_install; - using filters = vector>; - // Set as context::current_inner_odata during the install/uninstall inner // operations. // struct context_data { - // Filters. - // - const install::filters* filters; - - // If entry type is a directory, then leaf must be empty. - // - static bool - filter (const scope& rs, - const dir_path& base, - const path& leaf, - entry_type); - // Manifest. // #ifndef BUILD2_BOOTSTRAP @@ -92,7 +78,7 @@ namespace build2 // Constructor. // explicit - context_data (const install::filters*, const path* manifest); + context_data (const path* manifest); }; } } -- cgit v1.1