From: <sv...@op...> - 2024-12-20 08:23:53
|
Author: sagamusix Date: Fri Dec 20 09:23:41 2024 New Revision: 22585 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22585 Log: [Fix] Remove more constexpr. Android won't have it. Modified: trunk/OpenMPT/soundlib/ModInstrument.h Modified: trunk/OpenMPT/soundlib/ModInstrument.h ============================================================================== --- trunk/OpenMPT/soundlib/ModInstrument.h Thu Dec 19 22:59:15 2024 (r22584) +++ trunk/OpenMPT/soundlib/ModInstrument.h Fri Dec 20 09:23:41 2024 (r22585) @@ -135,13 +135,13 @@ } // Assign all notes to a given sample. - MPT_CONSTEXPR20_FUN void AssignSample(SAMPLEINDEX sample) + void AssignSample(SAMPLEINDEX sample) { Keyboard.fill(sample); } // Reset note mapping (i.e. every note is mapped to itself) - MPT_CONSTEXPR20_FUN void ResetNoteMap() + void ResetNoteMap() { std::iota(NoteMap.begin(), NoteMap.end(), static_cast<uint8>(NOTE_MIN)); } |