Disable C4512 in uncaught_exceptions(_np).cpp

This commit is contained in:
Peter Dimov 2021-11-01 02:55:52 +02:00
parent a581a42c4f
commit e73e8bfc83
2 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,10 @@
#include <boost/core/uncaught_exceptions.hpp>
#include <boost/core/lightweight_test.hpp>
#if defined(_MSC_VER)
# pragma warning(disable: 4512) // assignment operator could not be generated
#endif
struct my_exception {};
class exception_watcher

View File

@ -20,6 +20,10 @@
#include <boost/core/lightweight_test.hpp>
#if defined(_MSC_VER)
# pragma warning(disable: 4512) // assignment operator could not be generated
#endif
struct my_exception1 {};
struct my_exception2 {};