Fix Clang 13 -Wdeprecated-copy warnings

Clang 13 have new warning under the same group
This commit is contained in:
Nikita Kniazev
2022-09-08 21:29:55 +03:00
parent 37ed70fc43
commit 7fe4a887ae
33 changed files with 277 additions and 80 deletions
@@ -21,6 +21,10 @@
#include <boost/static_assert.hpp>
#include "tree.hpp"
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable: 4512) // assignment operator could not be generated.
#endif
struct ostream_fun
{
ostream_fun(std::ostream &sout)
@@ -34,6 +38,9 @@ struct ostream_fun
private:
std::ostream & sout_;
};
#ifdef _MSC_VER
# pragma warning(pop)
#endif
template<typename Tree>
void