summaryrefslogtreecommitdiff
path: root/absl/flags/internal/parse.h
diff options
context:
space:
mode:
authorGravatar Gennadiy Rozental <rogeeff@google.com>2023-03-01 16:54:33 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2023-03-01 16:55:43 -0800
commit6c2630fe513378db47708d9000e45754a954d3a5 (patch)
treea222dbef45ec69a1666271f559c85ae7a9b6c860 /absl/flags/internal/parse.h
parent1d07cfede2d0153ebfa23543ffcc08faf55b4539 (diff)
Finally delete ArgListAction after cleanup is completed.
PiperOrigin-RevId: 513379475 Change-Id: I0d7af3a0d2bf4da6eec66a5320ecc402d2e8fec8
Diffstat (limited to 'absl/flags/internal/parse.h')
-rw-r--r--absl/flags/internal/parse.h8
1 files changed, 0 insertions, 8 deletions
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<char*> ParseCommandLineImpl(int argc, char* argv[],
UsageFlagsAction usage_flag_act,
OnUndefinedFlag on_undef_flag);
-// To be removed
-inline std::vector<char*> 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