diff --git a/toolsrc/include/vcpkg_Maps.h b/toolsrc/include/vcpkg_Maps.h index 5e2f92f551..0122b8bfbb 100644 --- a/toolsrc/include/vcpkg_Maps.h +++ b/toolsrc/include/vcpkg_Maps.h @@ -6,17 +6,6 @@ namespace vcpkg::Maps { - template - std::unordered_set extract_key_set(const std::unordered_map& input_map) - { - std::unordered_set key_set; - for (auto const& element : input_map) - { - key_set.insert(element.first); - } - return key_set; - } - template std::vector extract_keys(const std::unordered_map& input_map) { diff --git a/toolsrc/include/vcpkg_Sets.h b/toolsrc/include/vcpkg_Sets.h deleted file mode 100644 index ec48008646..0000000000 --- a/toolsrc/include/vcpkg_Sets.h +++ /dev/null @@ -1,17 +0,0 @@ -#pragma once - -#include "vcpkg_Checks.h" -#include - -namespace vcpkg::Sets -{ - template - void remove_all(std::unordered_set* input_set, Container remove_these) - { - Checks::check_exit(input_set != nullptr, "Input set cannot be null"); - for (const T& r : remove_these) - { - input_set->erase(r); - } - } -} diff --git a/toolsrc/vcpkglib/vcpkglib.vcxproj b/toolsrc/vcpkglib/vcpkglib.vcxproj index b0a4784ba0..c6ba877d03 100644 --- a/toolsrc/vcpkglib/vcpkglib.vcxproj +++ b/toolsrc/vcpkglib/vcpkglib.vcxproj @@ -176,7 +176,6 @@ - diff --git a/toolsrc/vcpkglib/vcpkglib.vcxproj.filters b/toolsrc/vcpkglib/vcpkglib.vcxproj.filters index 086f3ccf32..c06e216ef3 100644 --- a/toolsrc/vcpkglib/vcpkglib.vcxproj.filters +++ b/toolsrc/vcpkglib/vcpkglib.vcxproj.filters @@ -254,9 +254,6 @@ Header Files - - Header Files - Header Files