summaryrefslogtreecommitdiff
path: root/Ivy/Ivy.cxx
diff options
context:
space:
mode:
authorfcolin2007-02-01 12:55:48 +0000
committerfcolin2007-02-01 12:55:48 +0000
commite0729eb3b7aed25acde9992dad2e4614fda677de (patch)
tree819088ee18a1b47d2c31449a97e6ad2a820e38f5 /Ivy/Ivy.cxx
parentc3cb3ebbf3e254a0a1e5c0837ff410d44987e87c (diff)
downloadivy-cplusplus-e0729eb3b7aed25acde9992dad2e4614fda677de.zip
ivy-cplusplus-e0729eb3b7aed25acde9992dad2e4614fda677de.tar.gz
ivy-cplusplus-e0729eb3b7aed25acde9992dad2e4614fda677de.tar.bz2
ivy-cplusplus-e0729eb3b7aed25acde9992dad2e4614fda677de.tar.xz
Utilisateur : Fcolin Date : 2/02/01 Heure : 18:30 Archivé dans $/Ivy Commentaire: win CE compile not finished (vss 6)
Diffstat (limited to 'Ivy/Ivy.cxx')
-rw-r--r--Ivy/Ivy.cxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/Ivy/Ivy.cxx b/Ivy/Ivy.cxx
index 54b7069..6284c0c 100644
--- a/Ivy/Ivy.cxx
+++ b/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() )