diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/emoji_codegen.py | 2 |
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] %} |