Author: sagamusix
Date: Fri May 31 01:48:18 2024
New Revision: 20874
URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=20874
Log:
[Fix] Compile fix for pre-C++20 compilers.
Modified:
trunk/OpenMPT/soundlib/InstrumentSynth.h
Modified: trunk/OpenMPT/soundlib/InstrumentSynth.h
==============================================================================
--- trunk/OpenMPT/soundlib/InstrumentSynth.h Fri May 31 01:42:57 2024 (r20873)
+++ trunk/OpenMPT/soundlib/InstrumentSynth.h Fri May 31 01:48:18 2024 (r20874)
@@ -190,7 +190,7 @@
constexpr Event &operator=(const Event &other) noexcept = default;
constexpr Event &operator=(Event &&other) noexcept = default;
- constexpr bool IsJumpEvent() const noexcept
+ MPT_CONSTEXPR20_FUN bool IsJumpEvent() const noexcept
{
return mpt::contains(JumpEvents, type);
}
|