stl: std::byte
This commit is contained in:
@@ -34,7 +34,7 @@ struct basic_any_storage {
|
||||
union {
|
||||
const void *instance{};
|
||||
// NOLINTNEXTLINE(cppcoreguidelines-avoid-c-arrays, modernize-avoid-c-arrays)
|
||||
alignas(Align) std::byte buffer[Len];
|
||||
alignas(Align) stl::byte buffer[Len];
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
/*! @cond ENTT_INTERNAL */
|
||||
namespace entt::stl {
|
||||
|
||||
using std::byte;
|
||||
using std::ptrdiff_t;
|
||||
using std::size_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user