Index: bench/DashBench.cpp |
diff --git a/bench/DashBench.cpp b/bench/DashBench.cpp |
index bf0d45614308b6ff366e6cce4dff1b93442adffb..e54d0387689a5a8c81075b9d7f8ccb99cfbe3892 100644 |
--- a/bench/DashBench.cpp |
+++ b/bench/DashBench.cpp |
@@ -311,7 +311,7 @@ public: |
static const char* LineTypeName(LineType lt) { |
static const char* gNames[] = { "hori", "vert", "diag" }; |
- SK_COMPILE_ASSERT(kLineTypeCount == SK_ARRAY_COUNT(gNames), names_wrong_size); |
+ static_assert(kLineTypeCount == SK_ARRAY_COUNT(gNames), "names_wrong_size"); |
return gNames[lt]; |
} |