summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-02-19 21:54:45 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-02-19 21:54:45 +0100
commite9f4298418c1ae10851e50c3c717a699ec1f0a4c (patch)
treeb2b36b651f9d512d4c764030137537ecf25e93f1 /scripts
parentReduce code bloat a bit (diff)
downloadnheko-e9f4298418c1ae10851e50c3c717a699ec1f0a4c.tar.xz
Fix gcc10 compat
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/emoji_codegen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/emoji_codegen.py b/scripts/emoji_codegen.py
index d3935473..2de09fdb 100755
--- a/scripts/emoji_codegen.py
+++ b/scripts/emoji_codegen.py
@@ -15,7 +15,7 @@ class Emoji(object):
 def generate_qml_list(**kwargs):
     entrycount = sum([len(c[1]) for c in kwargs.items()])
     tmpl = Template('''
-constexpr std::array<Emoji, {{ entrycount }} > emoji::Provider::emoji = {
+constexpr const std::array<Emoji, {{ entrycount }} > emoji::Provider::emoji = {
     {%- for c in kwargs.items() %}
     // {{ c[0].capitalize() }}
     {%- for e in c[1] %}