Remove incorrect comments from 'newTransportMgr' functions

This commit is contained in:
Ray Speth 2014-07-25 18:32:24 +00:00
parent d5b873b697
commit 41a6e78ff1

View file

@ -1350,14 +1350,7 @@ Transport* newTransportMgr(const std::string& transportModel, thermo_t* thermo,
if (f == 0) {
f = TransportFactory::factory();
}
Transport* ptr = f->newTransport(transportModel, thermo, loglevel, ndim);
/*
* Note: We delete the static s_factory instance here, instead of in
* appdelete() in misc.cpp, to avoid linking problems involving
* the need for multiple cantera and transport library statements
* for applications that don't have transport in them.
*/
return ptr;
return f->newTransport(transportModel, thermo, loglevel, ndim);
}
Transport* newDefaultTransportMgr(thermo_t* thermo, int loglevel, TransportFactory* f)
@ -1365,13 +1358,6 @@ Transport* newDefaultTransportMgr(thermo_t* thermo, int loglevel, TransportFacto
if (f == 0) {
f = TransportFactory::factory();
}
Transport* ptr = f->newTransport(thermo, loglevel);
/*
* Note: We delete the static s_factory instance here, instead of in
* appdelete() in misc.cpp, to avoid linking problems involving
* the need for multiple cantera and transport library statements
* for applications that don't have transport in them.
*/
return ptr;
return f->newTransport(thermo, loglevel);
}
}