mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 02:41:47 +08:00
[vcpkg] fix v140. again (#15116)
This commit is contained in:
parent
595777db23
commit
0d76ba45a4
@ -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;
|
||||
};
|
||||
@ -47,4 +52,4 @@ namespace vcpkg
|
||||
ExpectedS<std::vector<VersionDbEntry>> parse_versions_file(Files::Filesystem& fs,
|
||||
StringView port_name,
|
||||
const fs::path& versions_file_path);
|
||||
}
|
||||
}
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user