Author: sagamusix
Date: Sun Apr 14 00:20:13 2024
New Revision: 20585
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20585
Log:
[Fix] Silence warning regarding initialization order.
Modified:
trunk/OpenMPT/soundlib/InstrumentSynth.h
Modified: trunk/OpenMPT/soundlib/InstrumentSynth.h
==============================================================================
--- trunk/OpenMPT/soundlib/InstrumentSynth.h Sun Apr 14 00:14:50 2024 (r20584)
+++ trunk/OpenMPT/soundlib/InstrumentSynth.h Sun Apr 14 00:20:13 2024 (r20585)
@@ -149,7 +149,7 @@
protected:
constexpr Event(Type type, uint8 b1, uint8 b2, uint8 b3) noexcept : type{type}, u8{b1}, bytes{b2, b3} {}
- constexpr Event(Type type, uint16 u16, uint8 u8 = 0) noexcept : type{type}, u16{u16}, u8{u8} {}
+ constexpr Event(Type type, uint16 u16, uint8 u8 = 0) noexcept : type{type}, u8{u8}, u16{u16} {}
constexpr Event(Type type, int16 i16) noexcept : type{type}, i16{i16} {}
constexpr Event(Type type, uint8 u8) noexcept : type{type}, u8{u8} {}
constexpr Event(Type type, int8 i8) noexcept : type{type}, i8{i8} {}
|