Skip to content

Commit

Permalink
Used the right header for std::endian cpl_conv.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gorloffslava authored Aug 29, 2024
1 parent 1250e96 commit da207d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion port/cpl_conv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
#include <string>

#if __cplusplus >= 202002L
#include <type_traits> // For std::endian
#include <bit> // For std::endian
#endif

#include "cpl_config.h"
Expand Down

1 comment on commit da207d4

@schwehr
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Breadcrumb for others who bump into this: This is a fix for #9267 / 3e08f7b / 9ad3d29

Please sign in to comment.