diff --git a/GeoModelTools/GeoModelXML/GMXPlugin/src/GMXPlugin.cxx b/GeoModelTools/GeoModelXML/GMXPlugin/src/GMXPlugin.cxx index c0f95daf6ce5963bfbcc8641119c70e8235e2b7b..664f7dab3488879ac53ab549853a22502bf53f8f 100644 --- a/GeoModelTools/GeoModelXML/GMXPlugin/src/GMXPlugin.cxx +++ b/GeoModelTools/GeoModelXML/GMXPlugin/src/GMXPlugin.cxx @@ -106,9 +106,8 @@ void GMXPlugin::create(GeoPhysVol *world, bool publish) " does not exist. quitting and returning nicely! "<<std::endl; return; } - processorList proc; GmxInterface gmxInterface; - Gmx2Geo gmx2Geo(f, world, gmxInterface,proc, 0 , matman); + Gmx2Geo gmx2Geo(f, world, gmxInterface, 0 , matman); } if (matman) MaterialManager::getManager()->printAll(); diff --git a/GeoModelTools/GeoModelXML/GeoModelXml/GeoModelXml/Gmx2Geo.h b/GeoModelTools/GeoModelXML/GeoModelXml/GeoModelXml/Gmx2Geo.h index d21e26d8ef4966c3d23ad48f32470c77b2379878..b2f6715115c4ebadeb5d3068d00180847c02e985 100644 --- a/GeoModelTools/GeoModelXML/GeoModelXml/GeoModelXml/Gmx2Geo.h +++ b/GeoModelTools/GeoModelXML/GeoModelXml/GeoModelXml/Gmx2Geo.h @@ -58,7 +58,7 @@ class Evaluator; class Gmx2Geo { public: - Gmx2Geo(const std::string gmxFile, GeoPhysVol *addHere, GmxInterface &gmxInterface, processorList& procs ,unsigned int flags = 0, bool useMatManager = 0); + Gmx2Geo(const std::string gmxFile, GeoPhysVol *addHere, GmxInterface &gmxInterface, unsigned int flags = 0, bool useMatManager = 0,const processorList& procs=processorList()); private: // Disallow copying Gmx2Geo(const Gmx2Geo &right); diff --git a/GeoModelTools/GeoModelXML/GeoModelXml/src/Gmx2Geo.cxx b/GeoModelTools/GeoModelXML/GeoModelXml/src/Gmx2Geo.cxx index 355ba25482a089d7ed3184f64da6d83140082268..d9683891e1fbcbbce02a03e022887ae4eb46fb37 100644 --- a/GeoModelTools/GeoModelXML/GeoModelXml/src/Gmx2Geo.cxx +++ b/GeoModelTools/GeoModelXML/GeoModelXml/src/Gmx2Geo.cxx @@ -30,7 +30,7 @@ using namespace std; using namespace xercesc; -Gmx2Geo::Gmx2Geo(const string xmlFile, GeoPhysVol *addHere, GmxInterface &gmxInterface, processorList& procs, unsigned int flags, bool useMatManager) { +Gmx2Geo::Gmx2Geo(const string xmlFile, GeoPhysVol *addHere, GmxInterface &gmxInterface, unsigned int flags, bool useMatManager, const processorList& procs) { // // Create the xml tree (DOMDocument) //