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

@@ -19,6 +19,11 @@
#include <boost/fusion/iterator/iterator_facade.hpp>
#include <boost/fusion/adapted/std_array/detail/array_size.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;
@@ -99,9 +104,11 @@ namespace boost { namespace fusion
return type();
}
};
BOOST_DELETED_FUNCTION(std_array_iterator& operator=(std_array_iterator const&))
};
}}
#ifdef _MSC_VER
# pragma warning(pop)
#endif
#endif