diff options
author | fcolin | 2007-02-01 12:55:48 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:55:48 +0000 |
commit | b8e1d586f7f903ae134139d44ef6de001c35d605 (patch) | |
tree | 46a73338523a396c0a60e7b468a7bc1cf8b954bc /Bus | |
parent | 9f60853e74675898434ff9b9066323fb9a415e4f (diff) | |
download | ivy-cplusplus-b8e1d586f7f903ae134139d44ef6de001c35d605.zip ivy-cplusplus-b8e1d586f7f903ae134139d44ef6de001c35d605.tar.gz ivy-cplusplus-b8e1d586f7f903ae134139d44ef6de001c35d605.tar.bz2 ivy-cplusplus-b8e1d586f7f903ae134139d44ef6de001c35d605.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 'Bus')
-rw-r--r-- | Bus/Ivy/Ivy.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
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() )
|