From 34622425f9e3caa29b8e8958416aea8fbf4453b7 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Sun, 11 Jun 2023 16:42:27 -0400 Subject: [PATCH] fix MxPalette header suggestions from MattKC: - remove MxPalette:: - __cdecl -> __declspec(dllexport) - fix operator parameter --- LEGO1/mxpalette.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/mxpalette.h b/LEGO1/mxpalette.h index 1d2e7dfb..f130d2af 100644 --- a/LEGO1/mxpalette.h +++ b/LEGO1/mxpalette.h @@ -4,8 +4,8 @@ class MxPalette { public: - void __cdecl MxPalette::Detach(void); - unsigned char __cdecl MxPalette::operator==(MxPalette *palette); + void __declspec(dllexport) Detach(void); + unsigned char __declspec(dllexport) operator==(MxPalette &palette); }; #endif // MXPALETTE_H