Index: gm/emptypath.cpp |
diff --git a/gm/emptypath.cpp b/gm/emptypath.cpp |
index aadb94dfcee2c8aa783ef8045b91a61d31bebf8f..260f0a01ac9666fa3748b9ef4900cbb8cefe7410 100644 |
--- a/gm/emptypath.cpp |
+++ b/gm/emptypath.cpp |
@@ -44,7 +44,7 @@ protected: |
SkPath::FillType fFill; |
const char* fName; |
}; |
- static const FillAndName gFills[] = { |
+ constexpr FillAndName gFills[] = { |
{SkPath::kWinding_FillType, "Winding"}, |
{SkPath::kEvenOdd_FillType, "Even / Odd"}, |
{SkPath::kInverseWinding_FillType, "Inverse Winding"}, |
@@ -54,7 +54,7 @@ protected: |
SkPaint::Style fStyle; |
const char* fName; |
}; |
- static const StyleAndName gStyles[] = { |
+ constexpr StyleAndName gStyles[] = { |
{SkPaint::kFill_Style, "Fill"}, |
{SkPaint::kStroke_Style, "Stroke"}, |
{SkPaint::kStrokeAndFill_Style, "Stroke And Fill"}, |