constructor order of init

This commit is contained in:
Alexander Karatarakis 2018-04-07 02:39:23 -07:00
parent 9725e59b99
commit 30e516cd61

View File

@ -79,7 +79,7 @@ namespace vcpkg
}
BinaryParagraph::BinaryParagraph(const SourceParagraph& spgh, const FeatureParagraph& fpgh, const Triplet& triplet)
: version(), feature(fpgh.name), description(fpgh.description), maintainer()
: version(), description(fpgh.description), maintainer(), feature(fpgh.name)
{
this->spec = PackageSpec::from_name_and_triplet(spgh.name, triplet).value_or_exit(VCPKG_LINE_INFO);
this->depends = filter_dependencies(fpgh.depends, triplet);