test: cleanup
This commit is contained in:
@@ -20,13 +20,13 @@ class throwing_allocator {
|
||||
friend class throwing_allocator;
|
||||
|
||||
template<typename Other>
|
||||
requires (!std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>)
|
||||
requires (!std::same_as<Type, void> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>)
|
||||
throwing_allocator(int, const throwing_allocator<Other> &other)
|
||||
: allocator{other.allocator},
|
||||
config{other.config} {}
|
||||
|
||||
template<typename Other>
|
||||
requires std::is_void_v<Type> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>
|
||||
requires std::same_as<Type, void> || std::constructible_from<std::allocator<Type>, std::allocator<Other>>
|
||||
throwing_allocator(char, const throwing_allocator<Other> &other)
|
||||
: allocator{},
|
||||
config{other.config} {}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define ENTT_COMMON_TRANSPARENT_EQUAL_TO_H
|
||||
|
||||
#include <concepts>
|
||||
#include <type_traits>
|
||||
|
||||
namespace test {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user