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:
Jason Felds
2013-05-01 21:51:56 -04:00
parent 9efec5e244
commit 0976455ec8
+4 -2
View File
@@ -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 );