Fix syntax error for adjusting old stdc++ headers.

Change-Id: Ibc99ae943b275b770e8767b80400b8e1520e70a5
Reviewed-on: https://skia-review.googlesource.com/7035
Commit-Queue: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
Reviewed-by: Ben Wagner <bungeman@google.com>
This commit is contained in:
Herb Derby 2017-01-13 15:17:02 -05:00 committed by Skia Commit-Bot
parent 1c471874c5
commit 4fa20cea81

View File

@ -57,7 +57,7 @@ template <typename... T> using common_type_t = typename std::common_type<T...>::
template <typename T> struct underlying_type {
using type = __underlying_type(T);
};
template <typename T>using is_trivially_destructible<T> = std::has_trivial_destructor<T>;
template <typename T> using is_trivially_destructible = std::has_trivial_destructor<T>;
#else
template <typename T> using underlying_type = std::underlying_type<T>;
template <typename T> using is_trivially_destructible = std::is_trivially_destructible<T>;