Fix deprecated builtin warning in robin_hood
This commit is contained in:
2
src/3rdparty/robin_hood/robin_hood.h
vendored
2
src/3rdparty/robin_hood/robin_hood.h
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user