diff options
| author | Curtis.Bezault <curtbezault@gmail.com> | 2019-07-24 14:24:49 -0700 |
|---|---|---|
| committer | Curtis.Bezault <curtbezault@gmail.com> | 2019-07-24 14:24:49 -0700 |
| commit | 0c7669d009548616aeb754276deea974ba7a53c3 (patch) | |
| tree | 655c0433349190df021881796e5ac280152d36e4 /toolsrc/src | |
| parent | d68b9a08b1edfe80b77fd65afd21faffc81b162b (diff) | |
| download | vcpkg-0c7669d009548616aeb754276deea974ba7a53c3.tar.gz vcpkg-0c7669d009548616aeb754276deea974ba7a53c3.zip | |
store fs::path instead of std::string
Diffstat (limited to 'toolsrc/src')
| -rw-r--r-- | toolsrc/src/vcpkg/binaryparagraph.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg/binaryparagraph.cpp b/toolsrc/src/vcpkg/binaryparagraph.cpp index 9b1a8e201..f571e0e8e 100644 --- a/toolsrc/src/vcpkg/binaryparagraph.cpp +++ b/toolsrc/src/vcpkg/binaryparagraph.cpp @@ -100,7 +100,9 @@ namespace vcpkg this->spec); } - for (int i = 0; i < external_files_or_hashes.size(); i += 2) + for (decltype(external_files_or_hashes)::size_type i = 0; + i < external_files_or_hashes.size(); + i += 2) { external_files.emplace( std::move(external_files_or_hashes[i]), |
