From ef8c21290e749bd33deef0fefb249a00b99e8212 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Fri, 28 Apr 2017 12:59:53 -0700 Subject: Remove stray temp code --- toolsrc/src/commands_remove.cpp | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'toolsrc/src/commands_remove.cpp') diff --git a/toolsrc/src/commands_remove.cpp b/toolsrc/src/commands_remove.cpp index 6a8d4af1e..3675f74ea 100644 --- a/toolsrc/src/commands_remove.cpp +++ b/toolsrc/src/commands_remove.cpp @@ -120,28 +120,7 @@ namespace vcpkg::Commands::Remove void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet) { - enum SwitchType - { - SINGLE, - SINGLE_WITH_NO, - VALUE, - }; - - struct Option - { - CStringView name; - SwitchType type; - }; - - static constexpr Option options_table[] = { - Option{"--purge", SINGLE_WITH_NO}, - Option{"--recurse", SINGLE_WITH_NO}, - Option{"--dry-run", SINGLE_WITH_NO}, - Option{"--outdated", SINGLE}, - Option{"--logfile", VALUE}, - }; - - static constexpr CStringView OPTION_PURGE = "--purge"; + static const std::string OPTION_PURGE = "--purge"; static const std::string OPTION_NO_PURGE = "--no-purge"; static const std::string OPTION_RECURSE = "--recurse"; static const std::string OPTION_DRY_RUN = "--dry-run"; -- cgit v1.2.3