[libcxx-commits] [PATCH] D75554: Partially inline basic_string::assign(__s [, __n]) methods.

Martijn Vels via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 3 15:33:30 PST 2020


mvels updated this revision to Diff 248052.
mvels marked 2 inline comments as done.
mvels added a comment.

Fixed bug / omitting __n parameter


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D75554

Files:
  libcxx/include/string


Index: libcxx/include/string
===================================================================
--- libcxx/include/string
+++ libcxx/include/string
@@ -2285,7 +2285,7 @@
       __assign_maybe_alias(__s, __n);
     }
   } else {
-    __assign_maybe_alias(__s);
+    __assign_maybe_alias(__s, __n);
   }
   return *this;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75554.248052.patch
Type: text/x-patch
Size: 323 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200303/e674c4c7/attachment.bin>


More information about the libcxx-commits mailing list