diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-19 21:54:45 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-02-19 21:54:45 +0100 |
commit | e9f4298418c1ae10851e50c3c717a699ec1f0a4c (patch) | |
tree | b2b36b651f9d512d4c764030137537ecf25e93f1 /scripts | |
parent | Reduce code bloat a bit (diff) | |
download | nheko-e9f4298418c1ae10851e50c3c717a699ec1f0a4c.tar.xz |
Fix gcc10 compat
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] %} |