Index: src/core/SkRecord.h |
diff --git a/src/core/SkRecord.h b/src/core/SkRecord.h |
index 6893cb02ab80b75eed7c9276d0c9d803bf65ade3..ee10b15784242ce9af1ca6c75b3d13ae658c5139 100644 |
--- a/src/core/SkRecord.h |
+++ b/src/core/SkRecord.h |
@@ -134,13 +134,13 @@ private: |
}; |
template <typename T> |
- SK_WHEN(skstd::is_empty<T>, T*) allocCommand() { |
+ SK_WHEN(skstd::is_empty<T>::value, T*) allocCommand() { |
static T singleton = {}; |
return &singleton; |
} |
template <typename T> |
- SK_WHEN(!skstd::is_empty<T>, T*) allocCommand() { return this->alloc<T>(); } |
+ SK_WHEN(!skstd::is_empty<T>::value, T*) allocCommand() { return this->alloc<T>(); } |
void grow(); |