diff options
Diffstat (limited to 'gm/convex_all_line_paths.cpp')
-rw-r--r-- | gm/convex_all_line_paths.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/convex_all_line_paths.cpp b/gm/convex_all_line_paths.cpp index a93a7f6e47..435a37a10a 100644 --- a/gm/convex_all_line_paths.cpp +++ b/gm/convex_all_line_paths.cpp @@ -163,7 +163,7 @@ protected: SK_ARRAY_COUNT(gPoints9), SK_ARRAY_COUNT(gPoints10), }; - SK_COMPILE_ASSERT(SK_ARRAY_COUNT(gSizes) == SK_ARRAY_COUNT(gPoints), array_mismatch); + static_assert(SK_ARRAY_COUNT(gSizes) == SK_ARRAY_COUNT(gPoints), "array_mismatch"); SkAutoTDeleteArray<SkPoint> data(NULL); const SkPoint* points; |