aboutsummaryrefslogtreecommitdiff
path: root/build2/install/operation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/install/operation.cxx')
-rw-r--r--build2/install/operation.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/build2/install/operation.cxx b/build2/install/operation.cxx
index 9873ac2..44d257f 100644
--- a/build2/install/operation.cxx
+++ b/build2/install/operation.cxx
@@ -12,8 +12,11 @@ namespace build2
namespace install
{
static operation_id
- install_pre (meta_operation_id mo)
+ install_pre (const values& params, meta_operation_id mo, const location& l)
{
+ if (!params.empty ())
+ fail (l) << "unexpected parameters for operation install";
+
// Run update as a pre-operation, unless we are disfiguring.
//
return mo != disfigure_id ? update_id : 0;