aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorheretic <heretic@yandex-team.com>2022-09-29 13:31:44 +0300
committerheretic <heretic@yandex-team.com>2022-09-29 13:31:44 +0300
commit58bf216854fa84160309b5484114125d95bd4e26 (patch)
treeb87644e1e2f9f6c0b1827dbcb57ff2bb5c950d16
parent9caf30122c4c97609311cbe989af1c6c2ac3bcf0 (diff)
downloadydb-58bf216854fa84160309b5484114125d95bd4e26.tar.gz
Prepare to clang14: fix boost/fusion -Wdeprecated-copy
-rw-r--r--contrib/restricted/boost/fusion/include/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp1
-rw-r--r--contrib/restricted/boost/fusion/include/boost/fusion/container/deque/deque_iterator.hpp1
-rw-r--r--contrib/restricted/boost/fusion/include/boost/fusion/container/list/cons_iterator.hpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp
index ea30cb55c1..88206590a9 100644
--- a/contrib/restricted/boost/fusion/include/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp
+++ b/contrib/restricted/boost/fusion/include/boost/fusion/adapted/boost_tuple/boost_tuple_iterator.hpp
@@ -146,6 +146,7 @@ namespace boost { namespace fusion
// silence MSVC warning C4512: assignment operator could not be generated
BOOST_DELETED_FUNCTION(boost_tuple_iterator& operator= (boost_tuple_iterator const&))
+ boost_tuple_iterator(const boost_tuple_iterator&) = default;
};
template <typename Null>
diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/container/deque/deque_iterator.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/container/deque/deque_iterator.hpp
index b0335e5f2b..aff9109351 100644
--- a/contrib/restricted/boost/fusion/include/boost/fusion/container/deque/deque_iterator.hpp
+++ b/contrib/restricted/boost/fusion/include/boost/fusion/container/deque/deque_iterator.hpp
@@ -113,6 +113,7 @@ namespace boost { namespace fusion {
// silence MSVC warning C4512: assignment operator could not be generated
BOOST_DELETED_FUNCTION(deque_iterator& operator= (deque_iterator const&))
+ deque_iterator(const deque_iterator&) = default;
};
}}
diff --git a/contrib/restricted/boost/fusion/include/boost/fusion/container/list/cons_iterator.hpp b/contrib/restricted/boost/fusion/include/boost/fusion/container/list/cons_iterator.hpp
index 5c0491dbc8..d80244f3e5 100644
--- a/contrib/restricted/boost/fusion/include/boost/fusion/container/list/cons_iterator.hpp
+++ b/contrib/restricted/boost/fusion/include/boost/fusion/container/list/cons_iterator.hpp
@@ -44,6 +44,7 @@ namespace boost { namespace fusion
// silence MSVC warning C4512: assignment operator could not be generated
BOOST_DELETED_FUNCTION(cons_iterator& operator= (cons_iterator const&))
+ cons_iterator(const cons_iterator&) = default;
};
struct nil_iterator : iterator_base<nil_iterator>