[PATCH] D15862: A possible direction for fixing https://llvm.org/bugs/show_bug.cgi?id=25973.

Tim Song via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 7 12:20:12 PST 2016


tcanens added inline comments.

================
Comment at: include/string:2673
@@ -2654,1 +2672,3 @@
+	basic_string __temp (__first, __last, __alloc());
+	append(__temp.begin(), __temp.end());
     return *this;
----------------
Likewise - should probably be `append(__temp.data(), __temp.size());`.


http://reviews.llvm.org/D15862





More information about the cfe-commits mailing list