Skip to content

Commit 1efc9f9

Browse files
committed
[Fix] Compile fix.
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22573 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent dc27475 commit 1efc9f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

soundlib/InstrumentExtensions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ struct PropertyWriterReleaseNode
183183
struct PropertyWriterEnvelopeBase
184184
{
185185
PropertyWriterEnvelopeBase(uint32 nodes, EnvelopeType type) : nodes{nodes}, type{type} {};
186-
static constexpr bool IsPropertyNeeded(const ModInstrument&) noexcept
186+
static bool IsPropertyNeeded(const ModInstrument&) noexcept
187187
{
188188
return true;
189189
}
@@ -242,7 +242,7 @@ struct PropertyWriterEnvelopeValues : PropertyWriterEnvelopeBase
242242

243243
struct PropertyWriterPitchTempoLock
244244
{
245-
static constexpr bool IsPropertyNeeded(const ModInstrument &ins) noexcept { return ModInstrument{}.pitchToTempoLock != ins.pitchToTempoLock; }
245+
static bool IsPropertyNeeded(const ModInstrument &ins) noexcept { return ModInstrument{}.pitchToTempoLock != ins.pitchToTempoLock; }
246246
static constexpr uint16 Size() noexcept { return sizeof(uint16le); }
247247
PropertyWriterPitchTempoLock(bool intPart) : m_intPart{intPart} {}
248248
void Write(std::ostream &file, const ModInstrument &ins)

0 commit comments

Comments
 (0)