summaryrefslogtreecommitdiffstats
path: root/src/style-internal.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-10-26 18:38:36 +0000
committerThomas Holder <thomas@thomas-holder.de>2019-10-28 11:30:42 +0000
commitb040ab1c3ff435f5c37cb05d1fd9c950d4d0b968 (patch)
tree8d3d7f4d0296712041b341f19811e9849c481657 /src/style-internal.cpp
parentrefactor SPIEnum: more type safety (diff)
downloadinkscape-b040ab1c3ff435f5c37cb05d1fd9c950d4d0b968.tar.gz
inkscape-b040ab1c3ff435f5c37cb05d1fd9c950d4d0b968.zip
sized style enums
Reduces memory usage by 2% in a simple test
Diffstat (limited to 'src/style-internal.cpp')
-rw-r--r--src/style-internal.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/style-internal.cpp b/src/style-internal.cpp
index 8e226c698..31ab970cf 100644
--- a/src/style-internal.cpp
+++ b/src/style-internal.cpp
@@ -2999,7 +2999,8 @@ template class SPIEnum<SPCSSFontStyle>;
template class SPIEnum<SPCSSFontVariant>;
template class SPIEnum<SPCSSFontVariantPosition>;
template class SPIEnum<SPCSSFontVariantCaps>;
-template class SPIEnum<_SPCSSFontVariantLigatures_int>;
+template class SPIEnum<uint_least16_t>;
+template class SPIEnum<uint_least8_t>;