From ba282cfe193719f4fe030ebdcd80519ae19ffca2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Mon, 5 Oct 2020 13:19:50 +0200 Subject: Mark Object instances const --- Panel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Panel.h') diff --git a/Panel.h b/Panel.h index 7c4a6f2f..4b28c42d 100644 --- a/Panel.h +++ b/Panel.h @@ -60,7 +60,7 @@ struct Panel_ { #define KEY_CTRL(l) ((l)-'A'+1) -extern PanelClass Panel_class; +extern const PanelClass Panel_class; Panel* Panel_new(int x, int y, int w, int h, bool owner, const ObjectClass* type, FunctionBar* fuBar); -- cgit v1.2.3