Skip to content

Commit 7fe74fd

Browse files
committed
[Fix] Fix compilation with custom mpt::span implementation.
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@24988 56274372-70c3-4bfc-bfc3-4c3a0b034d27
1 parent e2761d1 commit 7fe74fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soundlib/Load_ss.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ struct ASIFWaveLists
105105
WaveList oscA;
106106
WaveList oscB;
107107

108-
void ConvertToMPT(const mpt::span<std::byte> waveData, ModSample &mptSmp) const
108+
void ConvertToMPT(const mpt::const_byte_span waveData, ModSample &mptSmp) const
109109
{
110110
// The Ensoniq ES-5503-DOC stops playing a sample as soon as it encounters a 0 byte.
111111
const size_t trimmedLength = std::distance(waveData.begin(), std::find(waveData.begin() + waveData.size() / 2, waveData.end(), std::byte{0}));

0 commit comments

Comments
 (0)