Skip to content

Commit

Permalink
Remove unnecessary includes
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Oct 11, 2023
1 parent a5cb058 commit db12c36
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions include/boost/variant2/variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,11 @@
#include <boost/assert/source_location.hpp>
#include <boost/config.hpp>
#include <boost/config/workaround.hpp>
#include <boost/cstdint.hpp>
#include <cstddef>
#include <type_traits>
#include <exception>
#include <initializer_list>
#include <utility>
#include <functional> // std::hash
#include <typeindex> // std::hash
#include <iosfwd>
#include <cstdint>
#include <cerrno>
Expand Down Expand Up @@ -2319,8 +2317,8 @@ namespace detail

inline std::size_t hash_value_impl_( mp11::mp_true, std::size_t index, std::size_t value )
{
boost::ulong_long_type hv = ( boost::ulong_long_type( 0xCBF29CE4 ) << 32 ) + 0x84222325;
boost::ulong_long_type const prime = ( boost::ulong_long_type( 0x00000100 ) << 32 ) + 0x000001B3;
unsigned long long hv = 0xCBF29CE484222325ull;
unsigned long long const prime = 0x100000001B3ull;

hv ^= index;
hv *= prime;
Expand Down

0 comments on commit db12c36

Please sign in to comment.