refactor(utils): include <cstddef>/<type_traits> used by as_bytes
The as_bytes overloads use std::byte/std::size_t (<cstddef>) and std::is_trivially_copyable_v (<type_traits>); after the earlier include trim these compiled only via transitive <span> includes on the fleet's libstdc++. Include them directly (include-what-you-use).
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <span>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
#include <version>
|
||||
#ifdef __cpp_lib_format
|
||||
|
||||
Reference in New Issue
Block a user