fix compile (leaving warnings alone for now)
This commit is contained in:
@@ -1279,8 +1279,9 @@ const CourseEntry *Course::FindFixedSong( const Song *pSong ) const
|
|||||||
{
|
{
|
||||||
FOREACH_CONST( CourseEntry, m_entries, e )
|
FOREACH_CONST( CourseEntry, m_entries, e )
|
||||||
{
|
{
|
||||||
if( e->pSong == pSong )
|
const CourseEntry &entry = *e;
|
||||||
return e;
|
if( entry.pSong == pSong )
|
||||||
|
return &entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user