code cleanup: use const events for modal and invoke operators.
[blender.git] / source / blender / editors / metaball / mball_edit.c
index 6c056df5a38c07acec21f865dcee9aef1d02358a..6781624aec6e1948e9e5066d0dfd79c149e93ff9 100644 (file)
@@ -254,7 +254,7 @@ static int duplicate_metaelems_exec(bContext *C, wmOperator *UNUSED(op))
        return OPERATOR_FINISHED;
 }
 
-static int duplicate_metaelems_invoke(bContext *C, wmOperator *op, wmEvent *UNUSED(event))
+static int duplicate_metaelems_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 {
        int retv = duplicate_metaelems_exec(C, op);