From 34b27cd1c18e2fc617d857605b02739aae154d2c Mon Sep 17 00:00:00 2001 From: q66 Date: Tue, 2 Jan 2018 23:40:56 +0100 Subject: [PATCH] make the unicode tables const --- gen_unicode.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen_unicode.cc b/gen_unicode.cc index 5896f64..071a672 100644 --- a/gen_unicode.cc +++ b/gen_unicode.cc @@ -195,7 +195,7 @@ struct parse_state { return; } format( - writer, "static char32_t %s_%s[][%d] = {\n", + writer, "static char32_t const %s_%s[][%d] = {\n", name, aname, ncol ); for (std::size_t j = 0; j < col1.size(); ++j) {