diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2017-12-25 22:53:44 +0100 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2018-05-30 10:59:15 +0200 |
| commit | 8a00a9e1497c75b3cff7247bd6e86280ab9c85b5 (patch) | |
| tree | 95372794c06eb97ea3eee36544ff5fa6ccc5a3ea /Source/Core/Common/ChunkFile.h | |
| parent | eb9969a1e290d968b506921936a0d51bf5501607 (diff) | |
Remove old GCC version checks
Diffstat (limited to 'Source/Core/Common/ChunkFile.h')
| -rw-r--r-- | Source/Core/Common/ChunkFile.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/Core/Common/ChunkFile.h b/Source/Core/Common/ChunkFile.h index 80247849ab..0a71bf30cb 100644 --- a/Source/Core/Common/ChunkFile.h +++ b/Source/Core/Common/ChunkFile.h @@ -35,20 +35,8 @@ // ewww -#ifndef __has_feature -#define __has_feature(x) (0) -#endif - -#if (__has_feature(is_trivially_copyable) && \ - (defined(_LIBCPP_VERSION) || defined(__GLIBCXX__))) || \ - (defined(__GNUC__) && __GNUC__ >= 5) || defined(_MSC_VER) #define IsTriviallyCopyable(T) \ std::is_trivially_copyable<typename std::remove_volatile<T>::type>::value -#elif __GNUC__ -#define IsTriviallyCopyable(T) std::has_trivial_copy_constructor<T>::value -#else -#error No version of is_trivially_copyable -#endif // Wrapper class class PointerWrap |
