Skip to content

Commit

Permalink
[Fix] Another compile fix for retro builds.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22235 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Nov 19, 2024
1 parent 3beba43 commit 16b6e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptrack/CommandSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ class CCommandSet

// Communication
KeyCombination GetKey(CommandID cmd, UINT key) const { return m_commands[cmd].kcList[key]; }
mpt::span<const KeyCombination> GetKeyChoices(CommandID cmd) const { return m_commands[cmd].kcList; }
mpt::span<const KeyCombination> GetKeyChoices(CommandID cmd) const { return mpt::as_span(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; }
Expand Down

0 comments on commit 16b6e29

Please sign in to comment.