From 6c2630fe513378db47708d9000e45754a954d3a5 Mon Sep 17 00:00:00 2001 From: Gennadiy Rozental Date: Wed, 1 Mar 2023 16:54:33 -0800 Subject: Finally delete ArgListAction after cleanup is completed. PiperOrigin-RevId: 513379475 Change-Id: I0d7af3a0d2bf4da6eec66a5320ecc402d2e8fec8 --- absl/flags/internal/parse.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'absl/flags/internal/parse.h') diff --git a/absl/flags/internal/parse.h b/absl/flags/internal/parse.h index b8c693c4..145e591d 100644 --- a/absl/flags/internal/parse.h +++ b/absl/flags/internal/parse.h @@ -32,7 +32,6 @@ namespace absl { ABSL_NAMESPACE_BEGIN namespace flags_internal { -enum class ArgvListAction { kRemoveParsedArgs, kKeepParsedArgs }; enum class UsageFlagsAction { kHandleUsage, kIgnoreUsage }; enum class OnUndefinedFlag { kIgnoreUndefined, @@ -44,13 +43,6 @@ std::vector ParseCommandLineImpl(int argc, char* argv[], UsageFlagsAction usage_flag_act, OnUndefinedFlag on_undef_flag); -// To be removed -inline std::vector ParseCommandLineImpl( - int argc, char* argv[], ArgvListAction /* arg_list_act */, - UsageFlagsAction usage_flag_act, OnUndefinedFlag on_undef_flag) { - return ParseCommandLineImpl(argc, argv, usage_flag_act, on_undef_flag); -} - // -------------------------------------------------------------------- // Inspect original command line -- cgit v1.2.3