Skip to content

Commit

Permalink
Fix warning when including <bit> in C++17 (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
stotiks authored May 2, 2024
1 parent 2d0f56d commit 0017631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/lexy/callback/bit_cast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

#ifndef LEXY_HAS_BITCAST
# if defined(__has_include)
# if __has_include(<bit>)
# if __has_include(<bit>) && __cplusplus >= 202002L
# include <bit>
# ifdef __cpp_lib_bit_cast
# define LEXY_HAS_BITCAST 1
Expand Down

0 comments on commit 0017631

Please sign in to comment.