Fix Clang 13 -Wdeprecated-copy warnings

Clang 13 have new warning under the same group
This commit is contained in:
Nikita Kniazev committed 2022-09-08 21:29:55 +03:00
1 parent 37ed70fc43
commit 7fe4a887ae
33 files changed
+277 -80

No files matched your search

@@ -18,6 +18,11 @@
#include <boost/type_traits/is_const.hpp>
#include <boost/fusion/iterator/iterator_facade.hpp>
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 4512) // assignment operator could not be generated.
#endif
namespace boost { namespace fusion
{
struct random_access_traversal_tag;
@@ -102,11 +107,13 @@ namespace boost { namespace fusion
return type();
}
};
BOOST_DELETED_FUNCTION(array_iterator& operator=(array_iterator const&))
};
}}
#ifdef _MSC_VER
# pragma warning(pop)
#endif
#ifdef BOOST_FUSION_WORKAROUND_FOR_LWG_2408
namespace std
{