diff options
author | fcolin | 2007-02-01 12:59:47 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 12:59:47 +0000 |
commit | 269212c25cad38454d54658f5f22d4d0a829009f (patch) | |
tree | 1c27fad67501122070ce33a226bdd6ea8de9e74e | |
parent | 6fbf1d74abfa58129357b9f833c8a17a7f6296c1 (diff) | |
download | ivy-cplusplus-269212c25cad38454d54658f5f22d4d0a829009f.zip ivy-cplusplus-269212c25cad38454d54658f5f22d4d0a829009f.tar.gz ivy-cplusplus-269212c25cad38454d54658f5f22d4d0a829009f.tar.bz2 ivy-cplusplus-269212c25cad38454d54658f5f22d4d0a829009f.tar.xz |
Utilisateur : Fcolin Date : 6/06/01 Heure : 8:50 Archivé dans $/Ivy Commentaire: Pb avec vector resize reserve et ajout de regexp !!! => replace list (vss 10)
-rw-r--r-- | Bus/Ivy/IvyApplication.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bus/Ivy/IvyApplication.cxx b/Bus/Ivy/IvyApplication.cxx index 2d1f937..6d3b7ea 100644 --- a/Bus/Ivy/IvyApplication.cxx +++ b/Bus/Ivy/IvyApplication.cxx @@ -135,10 +135,10 @@ void IvyApplication::OnReceive(char * line) TRACE("IvyApplication %s\n",err.c_str());
return;
}
- regexp_in.reserve( id +1 );
+ regexp_in.resize( id +1 );
regexp_in[ id ] = exp;
#ifdef IVY_DEBUG
- TRACE("Adding regexp[%d]='%s'\n",id,arg);
+ TRACE("Adding regexp[%d]='%s' size:%d\n",id,arg,regexp_in.size());
#endif //IVY_DEBUG
break;
case DelRegexp:
|