From 407036ed784add6565d933f1a94301467d5e50a0 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sun, 25 Jun 2023 21:45:05 +0200 Subject: [PATCH] mxomni: explicitly declare MxOmni constructo Doing so fixes a link error where the MxOmni::MxOmni() symbol was present multiple times. --- LEGO1/mxomni.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LEGO1/mxomni.h b/LEGO1/mxomni.h index 4c7d29e8..477e0375 100644 --- a/LEGO1/mxomni.h +++ b/LEGO1/mxomni.h @@ -27,7 +27,8 @@ class MxOmni : public MxCore __declspec(dllexport) static void SetCD(const char *s); __declspec(dllexport) static void SetHD(const char *s); __declspec(dllexport) static void SetSound3D(unsigned char); - + + MxOmni(); virtual ~MxOmni(); virtual long Notify(MxParam &p); // vtable+04