Include <bit> when using std::bit_cast

This commit is contained in:
Oliver Lee 2021-10-09 13:02:03 +02:00 committed by Victor Zverovich
parent 1e96e01766
commit 9c14474d30

View File

@ -41,6 +41,10 @@
#include <system_error> // std::system_error #include <system_error> // std::system_error
#include <utility> // std::swap #include <utility> // std::swap
#ifdef __cpp_lib_bit_cast
#include <bit> // std::bitcast
#endif
#include "core.h" #include "core.h"
#if FMT_GCC_VERSION #if FMT_GCC_VERSION