Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
robin hood: resolve warning on new clang (#44)
Clang has this weird behavior of setting __GNUC__ to 4, hence clang will always take the if branch. This is suboptimal because std::is_trivially_copyable has almost always been in clang. starting with clang 15 a warning is raised for the current implementation: warning: builtin __has_trivial_copy is deprecated; use __is_trivially_copyable instead [-Wdeprecated-builtins] Since we are using -Werror, we should fix this.
- Loading branch information