Skip to content

Commit

Permalink
Include <bit> when using std::bit_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverlee authored and vitaut committed Oct 9, 2021
1 parent 1e96e01 commit 9c14474
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/fmt/format.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
#include <system_error> // std::system_error
#include <utility> // std::swap

#ifdef __cpp_lib_bit_cast
#include <bit> // std::bitcast
#endif

#include "core.h"

#if FMT_GCC_VERSION
Expand Down

0 comments on commit 9c14474

Please sign in to comment.