summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__bit_reference
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-12-12 00:22:07 -0800
committerEric Christopher <echristo@gmail.com>2019-12-12 00:22:37 -0800
commitfa0fc04a4f950461e3f5675487b477c94e456842 (patch)
treebf9d9447c7331b0d352dd216a8bd930e4a9eac75 /libcxx/include/__bit_reference
parent71aaebc82468c8982b6d80bb35cbafed6dea91cc (diff)
downloadbcm5719-llvm-fa0fc04a4f950461e3f5675487b477c94e456842.tar.gz
bcm5719-llvm-fa0fc04a4f950461e3f5675487b477c94e456842.zip
Temporarily Revert "[libc++] Fix -Wdeprecated-copy warnings in __bit_reference"
as it's causing test failures due to mismatched visibility. This reverts commit 02bb20223bda5add729402962c70d0ebd0d98af2.
Diffstat (limited to 'libcxx/include/__bit_reference')
-rw-r--r--libcxx/include/__bit_reference3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcxx/include/__bit_reference b/libcxx/include/__bit_reference
index f035eeae7af..05dfbe7e9ff 100644
--- a/libcxx/include/__bit_reference
+++ b/libcxx/include/__bit_reference
@@ -62,8 +62,6 @@ public:
return *this;
}
- __bit_reference(const __bit_reference&) = default;
-
_LIBCPP_INLINE_VISIBILITY
__bit_reference& operator=(const __bit_reference& __x) _NOEXCEPT
{return operator=(static_cast<bool>(__x));}
@@ -150,7 +148,6 @@ private:
: __seg_(__s), __mask_(__m) {}
__bit_const_reference& operator=(const __bit_const_reference& __x);
- __bit_const_reference(const __bit_const_reference&) = default;
};
// find
OpenPOWER on IntegriCloud