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

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
This commit is contained in:
ras0219 2020-07-01 21:05:18 -07:00 committed by GitHub
parent 66b906e3ad
commit a218d0e61d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
{