Skip to content

Commit e5d17e6

Browse files
committed
[Fix] Remove more constexpr. Android won't have it.
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22585 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent bfd2e09 commit e5d17e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

soundlib/ModInstrument.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ struct ModInstrument
135135
}
136136

137137
// Assign all notes to a given sample.
138-
MPT_CONSTEXPR20_FUN void AssignSample(SAMPLEINDEX sample)
138+
void AssignSample(SAMPLEINDEX sample)
139139
{
140140
Keyboard.fill(sample);
141141
}
142142

143143
// Reset note mapping (i.e. every note is mapped to itself)
144-
MPT_CONSTEXPR20_FUN void ResetNoteMap()
144+
void ResetNoteMap()
145145
{
146146
std::iota(NoteMap.begin(), NoteMap.end(), static_cast<uint8>(NOTE_MIN));
147147
}

0 commit comments

Comments
 (0)