refactor: use core/swap over deprecated swap header

In boost/swap.hpp:
```cpp
// The header file at this path is deprecated;
// use boost/core/swap.hpp instead.

```
This commit is contained in:
fanquake 2022-04-29 16:08:20 +01:00
parent 69f6588d7c
commit f11a56c2a7
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -23,7 +23,7 @@
// contains. More details on these issues are at libs/utility/value_init.htm
#include <boost/config.hpp> // For BOOST_NO_COMPLETE_VALUE_INITIALIZATION.
#include <boost/swap.hpp>
#include <boost/core/swap.hpp>
#include <cstring>
#include <cstddef>