diff options
| author | degasus <wickmarkus@web.de> | 2015-05-26 19:43:50 +0200 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2015-05-26 19:50:14 +0200 |
| commit | ebad10f2a14c3e06076c6487cd852d21543f6eee (patch) | |
| tree | b353ea8ec213097d89857320cfc9fcb5a8ee581d /Source/Core/Common/ChunkFile.h | |
| parent | 8944e07f8499f2c233d4aacc860145260fd2788d (diff) | |
Common: Fix IsTriviallyCopyable macro for GCC 5
Based on quarthex's patch in PR #2440
Diffstat (limited to 'Source/Core/Common/ChunkFile.h')
| -rw-r--r-- | Source/Core/Common/ChunkFile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/ChunkFile.h b/Source/Core/Common/ChunkFile.h index 8b64244a9c..cd02192c86 100644 --- a/Source/Core/Common/ChunkFile.h +++ b/Source/Core/Common/ChunkFile.h @@ -29,7 +29,7 @@ #include "Common/Flag.h" // ewww -#if _LIBCPP_VERSION +#if _LIBCPP_VERSION || __GNUC__ >= 5 #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 |
