[libcxx-commits] [PATCH] D106691: [libc++] Fix vector spacing error
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 26 15:25:17 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG1e1b5706c3f5: [libc++] Fix spacing in <vector>. NFCI. (authored by arthur.j.odwyer).
Changed prior to commit:
https://reviews.llvm.org/D106691?vs=361778&id=361827#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106691/new/
https://reviews.llvm.org/D106691
Files:
libcxx/include/vector
Index: libcxx/include/vector
===================================================================
--- libcxx/include/vector
+++ libcxx/include/vector
@@ -1029,7 +1029,7 @@
const size_type __cap = capacity();
if (__cap >= __ms / 2)
return __ms;
- return _VSTD::max<size_type>(2*__cap, __new_size);
+ return _VSTD::max<size_type>(2 * __cap, __new_size);
}
// Default constructs __n objects starting at __end_
@@ -2575,7 +2575,7 @@
const size_type __cap = capacity();
if (__cap >= __ms / 2)
return __ms;
- return _VSTD::max(2*__cap, __align_it(__new_size));
+ return _VSTD::max(2 * __cap, __align_it(__new_size));
}
// Default constructs __n objects starting at __end_
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106691.361827.patch
Type: text/x-patch
Size: 725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210726/16a1057c/attachment.bin>
More information about the libcxx-commits
mailing list