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