From b8e1d586f7f903ae134139d44ef6de001c35d605 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 12:55:48 +0000 Subject: Utilisateur : Fcolin Date : 2/02/01 Heure : 18:30 Archivé dans $/Ivy Commentaire: win CE compile not finished (vss 6) --- Bus/Ivy/Ivy.cxx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Bus') diff --git a/Bus/Ivy/Ivy.cxx b/Bus/Ivy/Ivy.cxx index 54b7069..6284c0c 100644 --- a/Bus/Ivy/Ivy.cxx +++ b/Bus/Ivy/Ivy.cxx @@ -3,7 +3,13 @@ ////////////////////////////////////////////////////////////////////// #include "stdafx.h" -//#include "libIvy.h" + +#ifdef _DEBUG +#define DEBUG_NEW new(__FILE__, __LINE__) +#define new DEBUG_NEW +#endif + + #include "Ivy.h" #include "IvyWatcher.h" @@ -28,7 +34,7 @@ Ivy::~Ivy() stop(); regexp_out.clear(); - for ( int i = 0; i < callbacks.size(); i ++) + for ( unsigned int i = 0; i < callbacks.size(); i ++) { delete callbacks[i]; } @@ -199,7 +205,7 @@ void Ivy::RemoveApplication(IvyApplication * app) void Ivy::SendSubscriptions(IvyApplication *app) { app->SendMsg( IvyApplication::StartRegexp, GetApplicationPort(), appname.c_str()); - for ( int id = 0 ; id < regexp_out.size(); id++ ) + for ( unsigned int id = 0 ; id < regexp_out.size(); id++ ) { const string& regexp = regexp_out[id]; if ( !regexp.empty() ) -- cgit v1.1