mirror of
https://github.com/boostorg/core.git
synced 2025-05-11 13:13:55 +00:00
Added #pragma once in swap.hpp.
This commit is contained in:
parent
eda68d4086
commit
0890785fec
@ -30,6 +30,10 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <cstddef> // for std::size_t
|
#include <cstddef> // for std::size_t
|
||||||
|
|
||||||
|
#ifdef BOOST_HAS_PRAGMA_ONCE
|
||||||
|
#pragma once
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(BOOST_GCC) && (BOOST_GCC < 40700)
|
#if defined(BOOST_GCC) && (BOOST_GCC < 40700)
|
||||||
// gcc 4.6 ICEs on noexcept specifications below
|
// gcc 4.6 ICEs on noexcept specifications below
|
||||||
#define BOOST_CORE_SWAP_NOEXCEPT_IF(x)
|
#define BOOST_CORE_SWAP_NOEXCEPT_IF(x)
|
||||||
@ -82,4 +86,4 @@ namespace boost
|
|||||||
|
|
||||||
#undef BOOST_CORE_SWAP_NOEXCEPT_IF
|
#undef BOOST_CORE_SWAP_NOEXCEPT_IF
|
||||||
|
|
||||||
#endif
|
#endif // BOOST_CORE_SWAP_HPP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user