[vcpkg] Remove all uses of Foo::Foo() noexcept = default; to fix
MODIFY
include/vcpkg/packagespec.h
include/vcpkg/packagespec.h
@@ -20,7 +20,7 @@ namespace vcpkg
///
struct PackageSpec
{
- PackageSpec() noexcept = default;
+ PackageSpec() = default;
PackageSpec(std::string name, Triplet triplet) : m_name(std::move(name)), m_triplet(triplet) {}
static std::vector<PackageSpec> to_package_specs(const std::vector<std::string>& ports, Triplet triplet);
@@ -97,7 +97,7 @@ namespace vcpkg
PackageSpec package_spec;
std::vector<std::string> features;
- FullPackageSpec() noexcept = default;
+ FullPackageSpec() = default;
explicit FullPackageSpec(PackageSpec spec, std::vector<std::string> features = {})
: package_spec(std::move(spec)), features(std::move(features))
{

[vcpkg] Remove all uses of Foo::Foo() noexcept = default; to fix #9955 (#12201)

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>