diff options
author | heretic <heretic@yandex-team.com> | 2022-08-12 19:31:18 +0300 |
---|---|---|
committer | heretic <heretic@yandex-team.com> | 2022-08-12 19:31:18 +0300 |
commit | fd43310b88d7ab79730f53246dd68a1e9e4a2f3a (patch) | |
tree | 2903880264f6850ed1b60ded981d4af92916801f | |
parent | 184c8d29df805dc859486acc0279466dcaa13413 (diff) | |
download | ydb-fd43310b88d7ab79730f53246dd68a1e9e4a2f3a.tar.gz |
Prepare to clang14: fix boost -Wdeprecated-copy
fix boost -Wdeprecated-copy
fix boost -Wdepreacated-copy
fix contrib/restricted/boost/chrono/include/boost/chrono/duration.hpp
4 files changed, 8 insertions, 0 deletions
diff --git a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp index ad58fce6eb..748caaa838 100644 --- a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp +++ b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/alternate_matcher.hpp @@ -98,6 +98,8 @@ namespace boost { namespace xpressive { namespace detail { } + alternate_matcher(const alternate_matcher& other) = default; + template<typename BidiIter, typename Next> bool match(match_state<BidiIter> &state, Next const &next) const { diff --git a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp index 9849ab0757..84723d1ce0 100644 --- a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp +++ b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/optional_matcher.hpp @@ -100,6 +100,8 @@ namespace boost { namespace xpressive { namespace detail return this->match_(state, next, Greedy()); } + optional_mark_matcher(const optional_mark_matcher& other) = default; + private: template<typename BidiIter, typename Next> bool match_(match_state<BidiIter> &state, Next const &next, mpl::true_) const // Greedy diff --git a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp index 3e75f85b38..97e93bddaf 100644 --- a/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp +++ b/contrib/restricted/boost/boost/xpressive/detail/core/matcher/simple_repeat_matcher.hpp @@ -82,6 +82,8 @@ namespace boost { namespace xpressive { namespace detail BOOST_ASSERT(Xpr::width == unknown_width() || Xpr::width == width); } + simple_repeat_matcher(const simple_repeat_matcher& other) = default; + template<typename BidiIter, typename Next> bool match(match_state<BidiIter> &state, Next const &next) const { diff --git a/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp b/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp index 4f01ab8637..292d3ea200 100644 --- a/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp +++ b/contrib/restricted/boost/boost/xpressive/detail/static/static.hpp @@ -128,6 +128,8 @@ struct static_xpression { } + static_xpression(static_xpression const &other) = default; + // match // delegates to the Matcher template<typename BidiIter> |