diff --git a/toolsrc/include/vcpkg_cmd_arguments.h b/toolsrc/include/vcpkg_cmd_arguments.h index 58bc460984..91f7de8ac1 100644 --- a/toolsrc/include/vcpkg_cmd_arguments.h +++ b/toolsrc/include/vcpkg_cmd_arguments.h @@ -20,7 +20,6 @@ namespace vcpkg std::string command; std::vector command_arguments; - void vcpkg_cmd_arguments::check_no_optional_command_arguments() const; std::unordered_set check_and_get_optional_command_arguments(const std::vector& valid_options) const; void check_max_arg_count(const size_t expected_arg_count) const; diff --git a/toolsrc/src/vcpkg_cmd_arguments.cpp b/toolsrc/src/vcpkg_cmd_arguments.cpp index 04c381c921..fdeb6e877a 100644 --- a/toolsrc/src/vcpkg_cmd_arguments.cpp +++ b/toolsrc/src/vcpkg_cmd_arguments.cpp @@ -135,11 +135,6 @@ namespace vcpkg return args; } - void vcpkg_cmd_arguments::check_no_optional_command_arguments() const - { - this->check_and_get_optional_command_arguments({}); - } - std::unordered_set vcpkg_cmd_arguments::check_and_get_optional_command_arguments(const std::vector& valid_options) const { std::unordered_set output;