Index: src/ports/SkFontMgr_fontconfig.cpp |
diff --git a/src/ports/SkFontMgr_fontconfig.cpp b/src/ports/SkFontMgr_fontconfig.cpp |
index e98bd01995d0ee2010210acf38069960ce0519be..5a344555464756a387c8b32a65202fe5c4794923 100644 |
--- a/src/ports/SkFontMgr_fontconfig.cpp |
+++ b/src/ports/SkFontMgr_fontconfig.cpp |
@@ -301,7 +301,7 @@ static int map_ranges(int val, MapRanges const ranges[], int rangesCount) { |
} |
template<int n> struct SkTFixed { |
- SK_COMPILE_ASSERT(-32768 <= n && n <= 32767, SkTFixed_n_not_in_range); |
+ static_assert(-32768 <= n && n <= 32767, "SkTFixed_n_not_in_range"); |
static const SkFixed value = static_cast<SkFixed>(n << 16); |
}; |