From e9f4298418c1ae10851e50c3c717a699ec1f0a4c Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sun, 19 Feb 2023 21:54:45 +0100 Subject: Fix gcc10 compat --- scripts/emoji_codegen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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::Provider::emoji = { +constexpr const std::array emoji::Provider::emoji = { {%- for c in kwargs.items() %} // {{ c[0].capitalize() }} {%- for e in c[1] %} -- cgit 1.4.1