From 56c4a5a94557b61c7c3451e9a0f713d38426df31 Mon Sep 17 00:00:00 2001 From: Josiah VanderZee Date: Sun, 13 Nov 2022 08:03:21 -0600 Subject: [PATCH] Fix reordering warnings --- source/Irrlicht/CIrrDeviceLinux.cpp | 6 +++--- source/Irrlicht/CWriteFile.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/Irrlicht/CIrrDeviceLinux.cpp b/source/Irrlicht/CIrrDeviceLinux.cpp index 91d1e470..47d8c56b 100644 --- a/source/Irrlicht/CIrrDeviceLinux.cpp +++ b/source/Irrlicht/CIrrDeviceLinux.cpp @@ -113,13 +113,13 @@ CIrrDeviceLinux::CIrrDeviceLinux(const SIrrlichtCreationParameters& param) XDisplay(0), VisualInfo(0), Screennr(0), XWindow(0), StdHints(0), XInputMethod(0), XInputContext(0), HasNetWM(false), -#endif -#if defined(_IRR_LINUX_X11_XINPUT2_) - currentTouchedCount(0), #endif Width(param.WindowSize.Width), Height(param.WindowSize.Height), WindowHasFocus(false), WindowMinimized(false), ExternalWindow(false), AutorepeatSupport(0) +#if defined(_IRR_LINUX_X11_XINPUT2_) + , currentTouchedCount(0) +#endif { #ifdef _DEBUG setDebugName("CIrrDeviceLinux"); diff --git a/source/Irrlicht/CWriteFile.cpp b/source/Irrlicht/CWriteFile.cpp index aa07b49e..2af6936a 100644 --- a/source/Irrlicht/CWriteFile.cpp +++ b/source/Irrlicht/CWriteFile.cpp @@ -12,7 +12,7 @@ namespace io CWriteFile::CWriteFile(const io::path& fileName, bool append) -: FileSize(0), Filename(fileName) +: Filename(fileName), FileSize(0) { #ifdef _DEBUG setDebugName("CWriteFile");