]> Creatis software - bbtk.git/commitdiff
#3403 vtk8itk5wx3-macos
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 1 Sep 2021 13:23:39 +0000 (15:23 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 1 Sep 2021 13:23:39 +0000 (15:23 +0200)
kernel/src/bbtkFactory.cxx

index d240eedbafacb8461a79c6a635b090cd7e7a9ad0..9e4ee36bf07156dfff2d636902e831ace604c8b5 100644 (file)
@@ -154,9 +154,7 @@ namespace bbtk
   //          same for Windows, with      c:, d: ...
   //
   // lastname : string before the last / (if any), or user supplied name
-         
-        
-         
+                 
        if(name != ""){
                bbtkDebugMessageInc("kernel",7,"Factory::LoadPackage(\""<<name<<"\")"<<std::endl);
                bbtkMessage("debug",1,"Factory::LoadPackage(\""<<name<<"\")"<<std::endl);
@@ -183,7 +181,6 @@ namespace bbtk
 //                     std::cout << (*it).first << " ";
 //             std::cout << std::endl;
 
-               
                if (iUnload != mPackageMap.end())
                {
                  bbtkMessage("output",2,"["<< pkgname <<"] already loaded" << std::endl);
@@ -210,7 +207,7 @@ namespace bbtk
                          return;
                   }
 
-                 // std::string path = Utilities::ExpandLibName(upath, false);
+        // std::string path = Utilities::ExpandLibName(upath, false);
 
                   std::string path = Utilities::ExpandLibName(name,false); // keep last item, here.
                   if (path != "")
@@ -236,7 +233,7 @@ namespace bbtk
                } else     // ----------------------------------------------------- iterate on the paths  
                {
 
-               std::string path = ".";
+        std::string path = ".";
                package_paths = ConfigurationFile::GetInstance().Get_package_paths();
                std::vector<std::string>::iterator i;
                for (i=package_paths.begin();i!=package_paths.end();++i)
@@ -278,7 +275,6 @@ namespace bbtk
                        }
                break; // we stop iterating even if error : have to signal it to user
                } //------------------ // end for ( package_paths.begin();i!=package_paths.end() )
-
        }
 
                if( !ok )  // nothing was loaded