Index: include/core/SkTypes.h |
diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h |
index 13b662abf66cd05e815e58f4563815c19b8d559b..baa6ac14aefad3bcb075cbb0698c99dea863972a 100644 |
--- a/include/core/SkTypes.h |
+++ b/include/core/SkTypes.h |
@@ -369,7 +369,7 @@ typedef uint32_t SkMSec; |
/** Faster than SkToBool for integral conditions. Returns 0 or 1 |
*/ |
-static constexpr int Sk32ToBool(uint32_t n) { |
+static inline constexpr int Sk32ToBool(uint32_t n) { |
return (n | (0-n)) >> 31; |
} |