summaryrefslogtreecommitdiffstats
path: root/src/attributes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/attributes.cpp')
-rw-r--r--src/attributes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/attributes.cpp b/src/attributes.cpp
index 49ec997ec..549dcf8ce 100644
--- a/src/attributes.cpp
+++ b/src/attributes.cpp
@@ -561,6 +561,8 @@ static SPStyleProp const props[] = {
#define n_attrs (sizeof(props) / sizeof(props[0]))
+static_assert(n_attrs == SPAttributeEnum_SIZE, "");
+
/**
* Inverse to the \c props array for lookup by name.
*/