summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:03:06 +0000
committerfcolin2007-02-01 13:03:06 +0000
commita8dcac14c962ef9064bda857e80e60cb0bc5908d (patch)
tree3b12a5ac9c3414fc98aa351202f473c748822530
parent282cd689421f7d9a458978e1e05af54d28e9bd7a (diff)
downloadivy-cplusplus-a8dcac14c962ef9064bda857e80e60cb0bc5908d.zip
ivy-cplusplus-a8dcac14c962ef9064bda857e80e60cb0bc5908d.tar.gz
ivy-cplusplus-a8dcac14c962ef9064bda857e80e60cb0bc5908d.tar.bz2
ivy-cplusplus-a8dcac14c962ef9064bda857e80e60cb0bc5908d.tar.xz
Utilisateur : Fcolin Date : 31/01/01 Heure : 11:18 Archivé dans $/Ivy (vss 4)
-rw-r--r--Bus/Ivy/IvySynchroWnd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bus/Ivy/IvySynchroWnd.cxx b/Bus/Ivy/IvySynchroWnd.cxx
index 80b2622..12a4587 100644
--- a/Bus/Ivy/IvySynchroWnd.cxx
+++ b/Bus/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 );
}