From 5f331e1b933531b8f569962b9a35a960c3b61e9a Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 30 Jun 2023 08:08:20 +0200 Subject: [PATCH] inline attribute must go first --- LEGO1/mxtimer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEGO1/mxtimer.h b/LEGO1/mxtimer.h index d79023d8..564eedfa 100644 --- a/LEGO1/mxtimer.h +++ b/LEGO1/mxtimer.h @@ -15,7 +15,7 @@ class MxTimer : public MxCore __declspec(dllexport) long GetRealTime(); - long GetTime() inline + inline long GetTime() { if (this->m_isRunning) return s_LastTimeCalculated;