From d6a2c6a320fd823755d338b55b5d837698b344c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20=C5=9Eiar=20Baysal?= Date: Fri, 8 Nov 2024 11:47:28 +0100 Subject: [PATCH] fix init order --- src/minidexed.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/minidexed.h b/src/minidexed.h index b28f9b4..c109fac 100644 --- a/src/minidexed.h +++ b/src/minidexed.h @@ -309,6 +309,15 @@ private: CSpinLock m_ReverbSpinLock; + // Network + CNetSubSystem* m_pNet; + CNetDevice* m_pNetDevice; + CBcm4343Device m_WLAN; + CWPASupplicant m_WPASupplicant; + bool m_bNetworkReady; + CUDPMIDIDevice m_UDPMIDI; + CFTPDaemon* m_pFTPDaemon; + bool m_bSavePerformance; bool m_bSavePerformanceNewFile; bool m_bSetNewPerformance; @@ -318,13 +327,7 @@ private: bool m_bLoadPerformanceBusy; bool m_bSaveAsDeault; - CNetSubSystem* m_pNet; - CNetDevice* m_pNetDevice; - CBcm4343Device m_WLAN; - CWPASupplicant m_WPASupplicant; - bool m_bNetworkReady; - CUDPMIDIDevice m_UDPMIDI; - CFTPDaemon* m_pFTPDaemon; + };