Made flycheck error map const.