One loop here.
Note: braces required with some of these macros. Another reason to look into getting rid of them.
This commit is contained in:
@@ -156,8 +156,10 @@ GraphDisplay::GraphDisplay()
|
||||
|
||||
GraphDisplay::~GraphDisplay()
|
||||
{
|
||||
FOREACH( Actor*, m_vpSongBoundaries, p )
|
||||
SAFE_DELETE( *p );
|
||||
for (Actor *p : m_vpSongBoundaries)
|
||||
{
|
||||
SAFE_DELETE( p );
|
||||
}
|
||||
m_vpSongBoundaries.clear();
|
||||
SAFE_DELETE( m_pGraphLine );
|
||||
SAFE_DELETE( m_pGraphBody );
|
||||
|
||||
Reference in New Issue
Block a user