mirror of
https://github.com/boostorg/core.git
synced 2025-05-11 05:07:39 +00:00
Disable -Wdeprecated-copy in serialization_*_test
This commit is contained in:
parent
20d89b69db
commit
7664d7ab7e
@ -2,6 +2,12 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// https://www.boost.org/LICENSE_1_0.txt
|
// https://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
|
#if defined(__clang__) && defined(__has_warning)
|
||||||
|
# if __has_warning( "-Wdeprecated-copy" )
|
||||||
|
# pragma clang diagnostic ignored "-Wdeprecated-copy"
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/core/serialization.hpp>
|
#include <boost/core/serialization.hpp>
|
||||||
|
|
||||||
struct X
|
struct X
|
||||||
|
@ -2,6 +2,12 @@
|
|||||||
// Distributed under the Boost Software License, Version 1.0.
|
// Distributed under the Boost Software License, Version 1.0.
|
||||||
// https://www.boost.org/LICENSE_1_0.txt
|
// https://www.boost.org/LICENSE_1_0.txt
|
||||||
|
|
||||||
|
#if defined(__clang__) && defined(__has_warning)
|
||||||
|
# if __has_warning( "-Wdeprecated-copy" )
|
||||||
|
# pragma clang diagnostic ignored "-Wdeprecated-copy"
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <boost/core/serialization.hpp>
|
#include <boost/core/serialization.hpp>
|
||||||
|
|
||||||
struct X
|
struct X
|
||||||
|
Loading…
x
Reference in New Issue
Block a user