summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ivy/IvySynchroWnd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ivy/IvySynchroWnd.cxx b/Ivy/IvySynchroWnd.cxx
index 80b2622..12a4587 100644
--- a/Ivy/IvySynchroWnd.cxx
+++ b/Ivy/IvySynchroWnd.cxx
@@ -86,7 +86,7 @@ LRESULT CALLBACK IvySynchroWnd::WindowProc( HWND hwnd, UINT uMsg, WPARAM wParam
LRESULT IvySynchroWnd::OnIvyCB(WPARAM wParam, LPARAM lParam)
{
- std::list<IvySynchronousCallback*>::iterator iter;
+ IvySynchronousCallbackList::iterator iter;
EnterCriticalSection( &m_CritSection );
for ( iter = callbacklist.begin(); iter != callbacklist.end(); )
@@ -103,7 +103,7 @@ void IvySynchroWnd::PostIvyCB( IvySynchronousCallback *cb )
{
EnterCriticalSection( &m_CritSection );
if ( !m_synchro->callbacklist.size() )
- assert(PostMessage(m_synchro->m_hWnd, WM_IVY_CB, 0, 0 ));
+ ASSERT(PostMessage(m_synchro->m_hWnd, WM_IVY_CB, 0, 0 ));
m_synchro->callbacklist.push_back( cb );
LeaveCriticalSection( &m_CritSection );
}