aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/emptypath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/emptypath.cpp')
-rw-r--r--gm/emptypath.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/emptypath.cpp b/gm/emptypath.cpp
index aadb94dfce..260f0a01ac 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"},