From e3723be7e266818c8aacdf9541c2749df63988b5 Mon Sep 17 00:00:00 2001 From: andreas Date: Tue, 1 Mar 2022 15:21:03 +0100 Subject: [PATCH] make boatData names availabel as constants --- lib/boatData/GwBoatData.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/boatData/GwBoatData.h b/lib/boatData/GwBoatData.h index a021b9a..5ab8c86 100644 --- a/lib/boatData/GwBoatData.h +++ b/lib/boatData/GwBoatData.h @@ -160,6 +160,7 @@ public: virtual ~GwBoatItemNameProvider() {} }; #define GWBOATDATA(type,name,time,fmt) \ + GWSC(_##name); \ GwBoatItem *name=new GwBoatItem(F(#name),GwBoatItemBase::fmt,time,&values) ; #define GWSPECBOATDATA(clazz,name,time,fmt) \ clazz *name=new clazz(F(#name),GwBoatItemBase::fmt,time,&values) ;