diff options
Diffstat (limited to 'libcxx/include/future')
-rw-r--r-- | libcxx/include/future | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libcxx/include/future b/libcxx/include/future index fa8dd8a0d7d..9b768e37c8e 100644 --- a/libcxx/include/future +++ b/libcxx/include/future @@ -333,8 +333,8 @@ public: ~packaged_task(); // no copy - packaged_task(packaged_task&) = delete; - packaged_task& operator=(packaged_task&) = delete; + packaged_task(const packaged_task&) = delete; + packaged_task& operator=(const packaged_task&) = delete; // move support packaged_task(packaged_task&& other) noexcept; @@ -1953,8 +1953,8 @@ public: // ~packaged_task() = default; // no copy - packaged_task(packaged_task&) = delete; - packaged_task& operator=(packaged_task&) = delete; + packaged_task(const packaged_task&) = delete; + packaged_task& operator=(const packaged_task&) = delete; // move support _LIBCPP_INLINE_VISIBILITY @@ -2068,8 +2068,8 @@ public: // ~packaged_task() = default; // no copy - packaged_task(packaged_task&) = delete; - packaged_task& operator=(packaged_task&) = delete; + packaged_task(const packaged_task&) = delete; + packaged_task& operator=(const packaged_task&) = delete; // move support _LIBCPP_INLINE_VISIBILITY |