From f0ddc605ce4b16f928c9da75ff6fb1a38e4153a5 Mon Sep 17 00:00:00 2001 From: Brendan Dougherty Date: Tue, 11 Jul 2023 13:12:08 -0500 Subject: [PATCH] Add int return type to MxCore::GetId instead of relying on implicit function nonsense. --- LEGO1/mxcore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/mxcore.h b/LEGO1/mxcore.h index c3e944a7..caf8b17b 100644 --- a/LEGO1/mxcore.h +++ b/LEGO1/mxcore.h @@ -30,7 +30,7 @@ class MxCore return !strcmp(name, MxCore::ClassName()); } - inline GetId() + inline int GetId() { return m_id; }