Skip to content

Commit

Permalink
Compilation fix for GCC 9.4 of Ubuntu 20.04 (#4355)
Browse files Browse the repository at this point in the history
* Compilation fix for GCC 9.4 of Ubuntu 20.04

* Update type.h: GCC <5 is no longer supported
  • Loading branch information
rouault authored and ihnorton committed Sep 19, 2023
1 parent b799cd3 commit dde4d7b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tiledb/sm/cpp_api/type.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,7 @@
#include <type_traits>
#include <vector>

// Workaround for GCC < 5.0
#if not defined(__clang__) && __GNUG__ && __GNUC__ < 5
#define IS_TRIVIALLY_COPYABLE(T) __has_trivial_copy(T)
#else
#define IS_TRIVIALLY_COPYABLE(T) std::is_trivially_copyable<T>::value
#endif

namespace tiledb {

Expand Down

0 comments on commit dde4d7b

Please sign in to comment.