mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 15:39:07 +08:00
314d59229d
* [google-cloud-cpp] Upgrade to v0.17.0 * Fix the x86-windows build.
14 lines
623 B
Diff
14 lines
623 B
Diff
diff --git a/google/cloud/storage/parallel_upload.h b/google/cloud/storage/parallel_upload.h
|
|
index 44f542d..4fd97bd 100644
|
|
--- a/google/cloud/storage/parallel_upload.h
|
|
+++ b/google/cloud/storage/parallel_upload.h
|
|
@@ -515,7 +515,7 @@ StatusOr<std::vector<ParallelUploadFileShard>> CreateUploadShards(
|
|
|
|
std::size_t const wanted_num_streams =
|
|
(std::max<std::size_t>)(1,
|
|
- (std::min)(max_streams,
|
|
+ (std::min<std::size_t>)(max_streams,
|
|
div_ceil(file_size, min_stream_size)));
|
|
|
|
std::uintmax_t const stream_size =
|