const-correctness for Song::getPlayPos()

This commit is contained in:
Colin Wallace
2015-06-22 00:15:30 +00:00
parent 546cb17e5f
commit 335b1c1c75
2 changed files with 5 additions and 1 deletions

View File

@@ -186,6 +186,10 @@ public:
{
return m_playPos[pm];
}
inline const PlayPos & getPlayPos( PlayModes pm ) const
{
return m_playPos[pm];
}
void updateLength();
tact_t length() const