]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkFactory.cxx
Bug #1754
[bbtk.git] / kernel / src / bbtkFactory.cxx
index 7c55c7f00ed9fd7dc33769cc2503098364e725b2..9989bfcfe36f9357b3723f0dcdbc57009db42d82 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkFactory.cxx,v $
   Language:  C++
-  Date:      $Date: 2012/10/16 06:31:04 $
-  Version:   $Revision: 1.53 $
+  Date:      $Date: 2012/11/14 07:12:00 $
+  Version:   $Revision: 1.54 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -173,7 +173,7 @@ namespace bbtk
                iUnload = mPackageMap.find(pkgname);
 
 //EED Debuging message
-     std::cout << "EED Factory::LoadPackage " <<  std::endl;
+//     std::cout << "EED Factory::LoadPackage " <<  std::endl;
 //             PackageMapType::iterator it;
 //             for ( it=mPackageMap.begin() ; it != mPackageMap.end(); it++ )
 //                     std::cout << (*it).first << " ";
@@ -510,12 +510,8 @@ namespace bbtk
     bbtkDebugMessageInc("kernel",9,"Factory::InsertPackage(\""<<
                         p->GetName()<<"\")"<<std::endl);
 
-    p->AddFactory(GetThisPointer<Factory>());
-         
-printf("EED Factory::InsertPackage %s\n", p->GetName().c_str() );        
-         
+    p->AddFactory(GetThisPointer<Factory>());    
     mPackageMap[p->GetName()] = p;
-
     bbtkDebugDecTab("kernel",9);
   }
   //===================================================================