From 50917b39ca410feac0f8dbf37b6db408aeedc2b8 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 22 Oct 2024 21:18:23 +1100 Subject: Remove now unused CompletionFlags Since shell-script-completions now runs the script asynchronously and unconditionally, there is no use for the CompletionFlags::Fast anymore which means we can remove that type altogether. --- src/parameters_parser.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/parameters_parser.hh') diff --git a/src/parameters_parser.hh b/src/parameters_parser.hh index f1ff8b73..1b91b6fc 100644 --- a/src/parameters_parser.hh +++ b/src/parameters_parser.hh @@ -40,9 +40,7 @@ struct wrong_argument_count : public parameter_error class Context; struct Completions; -enum class CompletionFlags; -using ArgCompleter = std::function; +using ArgCompleter = std::function; struct SwitchDesc { -- cgit v1.2.3