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/value_of.hpp>
#include <boost/type_traits/remove_const.hpp>
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 4512) // assignment operator could not be generated.
#endif
namespace boost { namespace fusion
{
template <typename Derived_, typename Iterator_,
@@ -135,6 +140,10 @@ namespace boost { namespace fusion
};
}}
#ifdef _MSC_VER
# pragma warning(pop)
#endif
#ifdef BOOST_FUSION_WORKAROUND_FOR_LWG_2408
namespace std
{