[vcpkg] fix v140. again
MODIFY
include/vcpkg/versiondeserializers.h
include/vcpkg/versiondeserializers.h
@@ -22,6 +22,11 @@ namespace vcpkg
struct SchemedVersion
{
+ SchemedVersion() = default;
+ SchemedVersion(Versions::Scheme scheme_, VersionT versiont_) : scheme(scheme_), versiont(std::move(versiont_))
+ {
+ }
+
Versions::Scheme scheme = Versions::Scheme::String;
VersionT versiont;
};

MODIFY
src/vcpkg/versiondeserializers.cpp
src/vcpkg/versiondeserializers.cpp
@@ -109,7 +109,7 @@ namespace vcpkg
Checks::unreachable(VCPKG_LINE_INFO);
}
- return SchemedVersion{version_scheme, {version, port_version}};
+ return SchemedVersion(version_scheme, VersionT{version, port_version});
}
View<StringView> schemed_deserializer_fields()

[vcpkg] fix v140. again (#15116)