From 7746518c0a18d1d119a806eae2f25e3489258eea Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Thu, 30 Jun 2022 13:06:05 -0700 Subject: [PATCH] Remove conditional usage of `#pragma once` from fca.hpp and prime_fmod.hpp, reorder config.hpp inclusion to come last --- include/boost/unordered/detail/fca.hpp | 7 ++----- include/boost/unordered/detail/prime_fmod.hpp | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/include/boost/unordered/detail/fca.hpp b/include/boost/unordered/detail/fca.hpp index 3929294d..19fafe73 100644 --- a/include/boost/unordered/detail/fca.hpp +++ b/include/boost/unordered/detail/fca.hpp @@ -113,11 +113,6 @@ to normal separate chaining implementations. */ -#include -#if defined(BOOST_HAS_PRAGMA_ONCE) -#pragma once -#endif - #include #include @@ -132,6 +127,8 @@ to normal separate chaining implementations. #include #include +#include + #include namespace boost { diff --git a/include/boost/unordered/detail/prime_fmod.hpp b/include/boost/unordered/detail/prime_fmod.hpp index 8806bb44..885c071b 100644 --- a/include/boost/unordered/detail/prime_fmod.hpp +++ b/include/boost/unordered/detail/prime_fmod.hpp @@ -7,16 +7,13 @@ #ifndef BOOST_UNORDERED_DETAIL_PRIME_FMOD_HPP #define BOOST_UNORDERED_DETAIL_PRIME_FMOD_HPP -#include -#if defined(BOOST_HAS_PRAGMA_ONCE) -#pragma once -#endif - #include #include #include #include +#include + #include #include