From: <sv...@op...> - 2024-11-19 08:14:11
|
Author: sagamusix Date: Tue Nov 19 09:14:04 2024 New Revision: 22234 URL: https://source.openmpt.org/browse/openmpt/?op=revision&rev=22234 Log: [Fix] Compile fix for retro builds. Modified: trunk/OpenMPT/mptrack/CommandSet.h Modified: trunk/OpenMPT/mptrack/CommandSet.h ============================================================================== --- trunk/OpenMPT/mptrack/CommandSet.h Mon Nov 18 23:43:26 2024 (r22233) +++ trunk/OpenMPT/mptrack/CommandSet.h Tue Nov 19 09:14:04 2024 (r22234) @@ -1274,7 +1274,7 @@ // Communication KeyCombination GetKey(CommandID cmd, UINT key) const { return m_commands[cmd].kcList[key]; } - std::span<const KeyCombination> GetKeyChoices(CommandID cmd) const { return m_commands[cmd].kcList; } + mpt::span<const KeyCombination> GetKeyChoices(CommandID cmd) const { return m_commands[cmd].kcList; } bool IsHidden(UINT c) const { return m_commands[c].IsHidden(); } int GetKeyListSize(CommandID cmd) const { return (cmd != kcNull) ? static_cast<int>(m_commands[cmd].kcList.size()) : 0; } CString GetCommandText(CommandID cmd) const { return m_commands[cmd].Message; } |