X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsrc%2FbbtkBlackBoxOutputConnector.cxx;h=cdc8f3335f8e38b2aaacc680e4399f51bf5146ca;hb=31e21c4bf4e9051ae07b5ca010d2e9b74c4dc06d;hp=af6bf5f21ed88febf007ea7e523d198dcf525aa7;hpb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;p=bbtk.git diff --git a/kernel/src/bbtkBlackBoxOutputConnector.cxx b/kernel/src/bbtkBlackBoxOutputConnector.cxx index af6bf5f..cdc8f33 100644 --- a/kernel/src/bbtkBlackBoxOutputConnector.cxx +++ b/kernel/src/bbtkBlackBoxOutputConnector.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkBlackBoxOutputConnector.cxx,v $ Language: C++ - Date: $Date: 2008/04/18 12:59:15 $ - Version: $Revision: 1.4 $ + Date: $Date: 2008/04/24 10:11:28 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -40,18 +40,21 @@ namespace bbtk bbtkDebugMessage("Kernel",9, "==> BlackBoxOutputConnector::~BlackBoxOutputConnector()" <Check(); //Connection::WeakPointer w(c); ConnectionVector::iterator i; - // = find(mConnection.begin(),mConnection.end(),c); + // = find(mConnection.begin(),mConnection.end(),c); for (i=mConnection.begin(); i!=mConnection.end(); ++i) { - if (i->lock()==c) break; + if (*i==c) break; } if (i==mConnection.end()) { @@ -94,16 +97,16 @@ namespace bbtk void BlackBoxOutputConnector::SetModifiedStatus() { - bbtkDebugMessageInc("Process",5, - "BlackBoxOutputConnector::SetModifiedStatus()" - < BlackBoxOutputConnector::SetModifiedStatus() [" + <SetModifiedStatus(); + (*i)->SetModifiedStatus(); } - bbtkDebugDecTab("Process",5); }