aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkglib.cpp
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-04-01 03:30:52 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-04-01 03:30:52 -0700
commitb788c2b2098093843d4521d12a617199af39e7dc (patch)
treeffcd55b39c9019adab6993c99dde130fa2aceb5d /toolsrc/src/vcpkglib.cpp
parentbb865fb312d9f603a18a40768ae357da0421905d (diff)
downloadvcpkg-b788c2b2098093843d4521d12a617199af39e7dc.tar.gz
vcpkg-b788c2b2098093843d4521d12a617199af39e7dc.zip
[vcpkg] ImmutableSortedVector is actually Mutable via move.
Use fmap instead of construct/insert. Don't cache VS2015 instances since it is called once. Add ParagraphDataMap alias.
Diffstat (limited to 'toolsrc/src/vcpkglib.cpp')
-rw-r--r--toolsrc/src/vcpkglib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkglib.cpp b/toolsrc/src/vcpkglib.cpp
index 47592ea1d..152b9ac2b 100644
--- a/toolsrc/src/vcpkglib.cpp
+++ b/toolsrc/src/vcpkglib.cpp
@@ -208,7 +208,7 @@ namespace vcpkg
}
), installed_files_of_current_pgh.end());
- StatusParagraph_and_associated_files pgh_and_files = { *pgh, ImmutableSortedVector<std::string>::create(std::move(installed_files_of_current_pgh)) };
+ StatusParagraph_and_associated_files pgh_and_files = { *pgh, SortedVector<std::string>(std::move(installed_files_of_current_pgh)) };
installed_files.push_back(std::move(pgh_and_files));
}