aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authornicole mazzuca <mazzucan@outlook.com>2020-12-15 14:31:10 -0800
committerGitHub <noreply@github.com>2020-12-15 14:31:10 -0800
commit0d76ba45a47961ee0da9bf484be31c1ae5a7e945 (patch)
tree2207e06049a3fca2a60578c9e91f7c63c06c53ca /toolsrc/include
parent595777db2332a3442b73f9af9f656355f207aec9 (diff)
downloadvcpkg-0d76ba45a47961ee0da9bf484be31c1ae5a7e945.tar.gz
vcpkg-0d76ba45a47961ee0da9bf484be31c1ae5a7e945.zip
[vcpkg] fix v140. again (#15116)
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/versiondeserializers.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/toolsrc/include/vcpkg/versiondeserializers.h b/toolsrc/include/vcpkg/versiondeserializers.h
index 249d685cb..2efe340d7 100644
--- a/toolsrc/include/vcpkg/versiondeserializers.h
+++ b/toolsrc/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;
};
@@ -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);
-} \ No newline at end of file
+}