Skip to content

Commit

Permalink
Merge pull request OSGeo#10677 from eugo-inc/cxx-23-std-endian-fix
Browse files Browse the repository at this point in the history
port/cpl_conv.cpp: Use the right header for std::endian in C++20/23
  • Loading branch information
rouault authored Aug 29, 2024
2 parents 1250e96 + da207d4 commit ff35a86
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

0 comments on commit ff35a86

Please sign in to comment.