aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/install/operation.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/install/operation.hxx')
-rw-r--r--libbuild2/install/operation.hxx18
1 files changed, 2 insertions, 16 deletions
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 <libbuild2/utility.hxx>
#include <libbuild2/operation.hxx>
-#include <libbuild2/filesystem.hxx> // auto_rmfile, entry_type
+#include <libbuild2/filesystem.hxx> // 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<pair<string, string>>;
-
// 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);
};
}
}