Skip to content

Commit

Permalink
Fix deprecated builtin warning in robin_hood
Browse files Browse the repository at this point in the history
  • Loading branch information
JGRennison committed Jan 22, 2024
1 parent f1073d2 commit 11274fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3rdparty/robin_hood/robin_hood.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ static Counts& counts() {

// workaround missing "is_trivially_copyable" in g++ < 5.0
// See https://stackoverflow.com/a/31798726/48181
#if defined(__GNUC__) && __GNUC__ < 5
#if defined(__GNUC__) && __GNUC__ < 5 && !defined(__clang__)
# define ROBIN_HOOD_IS_TRIVIALLY_COPYABLE(...) __has_trivial_copy(__VA_ARGS__)
#else
# define ROBIN_HOOD_IS_TRIVIALLY_COPYABLE(...) std::is_trivially_copyable<__VA_ARGS__>::value
Expand Down

0 comments on commit 11274fe

Please sign in to comment.