Remove conditional usage of #pragma once from fca.hpp and prime_fmod.hpp, reorder config.hpp inclusion to come last

This commit is contained in:
Christian Mazakas
2022-06-30 13:06:05 -07:00
parent c8a98e27e0
commit 7746518c0a
2 changed files with 4 additions and 10 deletions

View File

@ -113,11 +113,6 @@ to normal separate chaining implementations.
*/
#include <boost/config.hpp>
#if defined(BOOST_HAS_PRAGMA_ONCE)
#pragma once
#endif
#include <boost/unordered/detail/prime_fmod.hpp>
#include <boost/core/addressof.hpp>
@ -132,6 +127,8 @@ to normal separate chaining implementations.
#include <boost/type_traits/aligned_storage.hpp>
#include <boost/type_traits/alignment_of.hpp>
#include <boost/config.hpp>
#include <iterator>
namespace boost {

View File

@ -7,16 +7,13 @@
#ifndef BOOST_UNORDERED_DETAIL_PRIME_FMOD_HPP
#define BOOST_UNORDERED_DETAIL_PRIME_FMOD_HPP
#include <boost/config.hpp>
#if defined(BOOST_HAS_PRAGMA_ONCE)
#pragma once
#endif
#include <boost/cstdint.hpp>
#include <boost/preprocessor/seq/enum.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <boost/preprocessor/seq/size.hpp>
#include <boost/config.hpp>
#include <climits>
#include <cstddef>