mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Merge pull request #221 from comex/master
Fix IsTriviallyCopyable for volatile (fixes Mac build).
This commit is contained in:
commit
7b456d38fa
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
// ewww
|
// ewww
|
||||||
#if _LIBCPP_VERSION
|
#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__
|
#elif __GNUC__
|
||||||
#define IsTriviallyCopyable(T) std::has_trivial_copy_constructor<T>::value
|
#define IsTriviallyCopyable(T) std::has_trivial_copy_constructor<T>::value
|
||||||
#elif _MSC_VER >= 1800
|
#elif _MSC_VER >= 1800
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue