]> git.notmuchmail.org Git - notmuch/blobdiff - lib/message.cc
lib/message: mark flag2tag as const
[notmuch] / lib / message.cc
index 42d56acb10e4ae80a3f36e92c2f6c644b03afd43..7af6ab82a721699ac7f09153724b9e8038484b2a 100644 (file)
@@ -68,7 +68,7 @@ struct maildir_flag_tag {
 };
 
 /* ASCII ordered table of Maildir flags and associated tags */
-static struct maildir_flag_tag flag2tag[] = {
+static const struct maildir_flag_tag flag2tag[] = {
     { 'D', "draft",   false },
     { 'F', "flagged", false },
     { 'P', "passed",  false },