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()
|
GraphDisplay::~GraphDisplay()
|
||||||
{
|
{
|
||||||
FOREACH( Actor*, m_vpSongBoundaries, p )
|
for (Actor *p : m_vpSongBoundaries)
|
||||||
SAFE_DELETE( *p );
|
{
|
||||||
|
SAFE_DELETE( p );
|
||||||
|
}
|
||||||
m_vpSongBoundaries.clear();
|
m_vpSongBoundaries.clear();
|
||||||
SAFE_DELETE( m_pGraphLine );
|
SAFE_DELETE( m_pGraphLine );
|
||||||
SAFE_DELETE( m_pGraphBody );
|
SAFE_DELETE( m_pGraphBody );
|
||||||
|
|||||||
Reference in New Issue
Block a user