[libcxx-commits] [PATCH] D71395: [libc++] Fix -Wdeprecated-copy warnings in __bit_reference

Eric Christopher via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 11 23:48:21 PST 2019


echristo updated this revision to Diff 233518.
echristo added a comment.

clang-format changed lines.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71395

Files:
  libcxx/include/__bit_reference


Index: libcxx/include/__bit_reference
===================================================================
--- libcxx/include/__bit_reference
+++ libcxx/include/__bit_reference
@@ -62,7 +62,7 @@
         return *this;
     }
 
-    __bit_reference(const __bit_reference &) = default;
+    __bit_reference(const __bit_reference&) = default;
 
     _LIBCPP_INLINE_VISIBILITY
     __bit_reference& operator=(const __bit_reference& __x) _NOEXCEPT
@@ -150,7 +150,7 @@
         : __seg_(__s), __mask_(__m) {}
 
     __bit_const_reference& operator=(const __bit_const_reference& __x);
-    __bit_const_reference(const __bit_const_reference &) = default;
+    __bit_const_reference(const __bit_const_reference&) = default;
 };
 
 // find


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71395.233518.patch
Type: text/x-patch
Size: 729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20191212/933495bc/attachment.bin>


More information about the libcxx-commits mailing list