mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #221 from comex/master
Fix IsTriviallyCopyable for volatile (fixes Mac build).
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
|
||||
// ewww
|
||||
#if _LIBCPP_VERSION
|
||||
#define IsTriviallyCopyable(T) std::is_trivially_copyable<T>::value
|
||||
#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
|
||||
#elif _MSC_VER >= 1800
|
||||
|
||||
Reference in New Issue
Block a user