test: cleanup

This commit is contained in:
skypjack
2026-02-04 09:56:08 +01:00
parent a15a7653ee
commit 4e191a95f4
2 changed files with 2 additions and 3 deletions

View File

@@ -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} {}

View File

@@ -2,7 +2,6 @@
#define ENTT_COMMON_TRANSPARENT_EQUAL_TO_H
#include <concepts>
#include <type_traits>
namespace test {