[libcxx-commits] [PATCH] D112231: [libc++][nfc] Remove double spaces.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Oct 22 08:26:22 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG7593f68a0551: [libc++][nfc] Remove double spaces. (authored by Mordante).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112231/new/

https://reviews.llvm.org/D112231

Files:
  libcxx/include/vector


Index: libcxx/include/vector
===================================================================
--- libcxx/include/vector
+++ libcxx/include/vector
@@ -903,7 +903,7 @@
 
   struct _ConstructTransaction {
     explicit _ConstructTransaction(vector &__v, size_type __n)
-      : __v_(__v),  __pos_(__v.__end_), __new_end_(__v.__end_ + __n) {
+      : __v_(__v), __pos_(__v.__end_), __new_end_(__v.__end_ + __n) {
 #ifndef _LIBCPP_HAS_NO_ASAN
       __v_.__annotate_increase(__n);
 #endif
@@ -1736,10 +1736,10 @@
 {
 #if _LIBCPP_DEBUG_LEVEL == 2
     _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(_VSTD::addressof(__first)) == this,
-        "vector::erase(iterator,  iterator) called with an iterator not"
+        "vector::erase(iterator, iterator) called with an iterator not"
         " referring to this vector");
     _LIBCPP_ASSERT(__get_const_db()->__find_c_from_i(_VSTD::addressof(__last)) == this,
-        "vector::erase(iterator,  iterator) called with an iterator not"
+        "vector::erase(iterator, iterator) called with an iterator not"
         " referring to this vector");
 #endif
     _LIBCPP_ASSERT(__first <= __last, "vector::erase(first, last) called with invalid range");


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112231.381561.patch
Type: text/x-patch
Size: 1199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211022/8368a1ca/attachment-0001.bin>


More information about the libcxx-commits mailing list