From 0d61746fa3d1d1f2468a48e8220512c767356f42 Mon Sep 17 00:00:00 2001 From: Christian Mazakas Date: Fri, 29 Sep 2023 08:03:11 -0700 Subject: [PATCH] Remove unnecessary requires_cxx11 header --- .../boost/unordered/detail/requires_cxx11.hpp | 21 ------------------- include/boost/unordered/unordered_map.hpp | 1 - include/boost/unordered/unordered_set.hpp | 1 - 3 files changed, 23 deletions(-) delete mode 100644 include/boost/unordered/detail/requires_cxx11.hpp diff --git a/include/boost/unordered/detail/requires_cxx11.hpp b/include/boost/unordered/detail/requires_cxx11.hpp deleted file mode 100644 index b7c7b813..00000000 --- a/include/boost/unordered/detail/requires_cxx11.hpp +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef BOOST_UNORDERED_DETAIL_REQUIRES_CXX11_HPP_INCLUDED -#define BOOST_UNORDERED_DETAIL_REQUIRES_CXX11_HPP_INCLUDED - -// Copyright 2023 Peter Dimov -// Distributed under the Boost Software License, Version 1.0. -// https://www.boost.org/LICENSE_1_0.txt - -#include -#include - -#if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) || \ - defined(BOOST_NO_CXX11_RVALUE_REFERENCES) || \ - defined(BOOST_NO_CXX11_DECLTYPE) || \ - defined(BOOST_NO_CXX11_CONSTEXPR) || \ - defined(BOOST_NO_CXX11_NOEXCEPT) - -BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Unordered 1.82 and will be removed in Boost.Unordered 1.84.") - -#endif - -#endif // #ifndef BOOST_UNORDERED_DETAIL_REQUIRES_CXX11_HPP_INCLUDED diff --git a/include/boost/unordered/unordered_map.hpp b/include/boost/unordered/unordered_map.hpp index 4272b402..0e948b89 100644 --- a/include/boost/unordered/unordered_map.hpp +++ b/include/boost/unordered/unordered_map.hpp @@ -15,7 +15,6 @@ #endif #include -#include #include #include diff --git a/include/boost/unordered/unordered_set.hpp b/include/boost/unordered/unordered_set.hpp index 6791210d..98ce4eca 100644 --- a/include/boost/unordered/unordered_set.hpp +++ b/include/boost/unordered/unordered_set.hpp @@ -14,7 +14,6 @@ #pragma once #endif -#include #include #include #include