stl: drop version.hpp - some things do not fit custom implementations, that's all
This commit is contained in:
@@ -216,7 +216,6 @@ if(ENTT_INCLUDE_HEADERS)
|
||||
stl/type_traits.hpp
|
||||
stl/utility.hpp
|
||||
stl/vector.hpp
|
||||
stl/version.hpp
|
||||
tools/davey.hpp
|
||||
entt.hpp
|
||||
fwd.hpp
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
# include <entt/ext/config.h>
|
||||
#endif
|
||||
|
||||
#include "../stl/version.hpp"
|
||||
#include <version>
|
||||
#include "version.h"
|
||||
|
||||
// NOLINTBEGIN(cppcoreguidelines-macro-usage)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef ENTT_CORE_RANGES_HPP
|
||||
#define ENTT_CORE_RANGES_HPP
|
||||
|
||||
#include "../stl/version.hpp"
|
||||
#include <version>
|
||||
|
||||
#if defined(__cpp_lib_ranges)
|
||||
# include <ranges>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#ifndef ENTT_ENTITY_RANGES_HPP
|
||||
#define ENTT_ENTITY_RANGES_HPP
|
||||
|
||||
#include "../stl/version.hpp"
|
||||
#include <version>
|
||||
|
||||
#if defined(__cpp_lib_ranges)
|
||||
# include <ranges>
|
||||
|
||||
@@ -90,5 +90,4 @@ namespace entt::stl {}
|
||||
#include "stl/type_traits.hpp"
|
||||
#include "stl/utility.hpp"
|
||||
#include "stl/vector.hpp"
|
||||
#include "stl/version.hpp"
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#define ENTT_STL_ITERATOR_HPP
|
||||
|
||||
#include <iterator>
|
||||
#include <version>
|
||||
#include "../config/config.h"
|
||||
#include "version.hpp"
|
||||
|
||||
/*! @cond ENTT_INTERNAL */
|
||||
namespace entt::stl {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
#define ENTT_STL_MEMORY_HPP
|
||||
|
||||
#include <memory>
|
||||
#include <version>
|
||||
#include "../config/config.h"
|
||||
#include "version.hpp"
|
||||
|
||||
/*! @cond ENTT_INTERNAL */
|
||||
namespace entt::stl {
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#ifndef ENTT_STL_VERSION_HPP
|
||||
#define ENTT_STL_VERSION_HPP
|
||||
|
||||
#if __has_include(<version>)
|
||||
# include <version>
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user