From 7a1bc07142577cce32ee88c8d8ef60b386d19b6a Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Mon, 7 Nov 2016 17:09:07 -0800 Subject: [Dependencies] Remove unused parameter --- toolsrc/src/commands_installation.cpp | 2 +- toolsrc/src/vcpkg_Dependencies.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'toolsrc/src') diff --git a/toolsrc/src/commands_installation.cpp b/toolsrc/src/commands_installation.cpp index 917b4a219..3f40ba023 100644 --- a/toolsrc/src/commands_installation.cpp +++ b/toolsrc/src/commands_installation.cpp @@ -141,7 +141,7 @@ namespace vcpkg Input::check_triplet(spec.target_triplet(), paths); // Explicitly load and use the portfile's build dependencies when resolving the build command (instead of a cached package's dependencies). - auto first_level_deps = Dependencies::get_unmet_package_build_dependencies(paths, spec, status_db); + auto first_level_deps = Dependencies::get_unmet_package_build_dependencies(paths, spec); std::vector first_level_deps_specs; for (auto&& dep : first_level_deps) { diff --git a/toolsrc/src/vcpkg_Dependencies.cpp b/toolsrc/src/vcpkg_Dependencies.cpp index d3b9dbb7b..10c3ce56f 100644 --- a/toolsrc/src/vcpkg_Dependencies.cpp +++ b/toolsrc/src/vcpkg_Dependencies.cpp @@ -13,7 +13,7 @@ namespace vcpkg { namespace Dependencies { // TODO: Refactoring between this function and install_package - static std::vector get_single_level_unmet_dependencies(const vcpkg_paths& paths, const package_spec& spec, const StatusParagraphs& status_db) + static std::vector get_single_level_unmet_dependencies(const vcpkg_paths& paths, const package_spec& spec) { const fs::path packages_dir_control_file_path = paths.package_dir(spec) / "CONTROL"; @@ -32,7 +32,7 @@ namespace vcpkg { namespace Dependencies return BinaryParagraph(pghs[0]).depends; } - return get_unmet_package_build_dependencies(paths, spec, status_db); + return get_unmet_package_build_dependencies(paths, spec); } static Graphs::Graph build_dependency_graph(const vcpkg_paths& paths, const std::vector& specs, const StatusParagraphs& status_db) @@ -52,7 +52,7 @@ namespace vcpkg { namespace Dependencies continue; } - std::vector dependencies_as_string = get_single_level_unmet_dependencies(paths, spec, status_db); + std::vector dependencies_as_string = get_single_level_unmet_dependencies(paths, spec); for (const std::string& dep_as_string : dependencies_as_string) { @@ -87,7 +87,7 @@ namespace vcpkg { namespace Dependencies return Maps::extract_key_set(dependency_graph.adjacency_list()); } - std::vector get_unmet_package_build_dependencies(const vcpkg_paths& paths, const package_spec& spec, const StatusParagraphs& status_db) + std::vector get_unmet_package_build_dependencies(const vcpkg_paths& paths, const package_spec& spec) { const fs::path ports_dir_control_file_path = paths.port_dir(spec) / "CONTROL"; auto control_contents_maybe = Files::get_contents(ports_dir_control_file_path); -- cgit v1.2.3