Skip to content

Commit

Permalink
Few modifications required after rebasing the code with current Cantera
Browse files Browse the repository at this point in the history
version
  • Loading branch information
gkogekar authored and speth committed Jun 22, 2023
1 parent 81ed856 commit 97456f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions include/cantera/oneD/StFlow.h
Expand Up @@ -85,9 +85,7 @@ class StFlow : public Domain1D
*
* @deprecated To be removed after Cantera 3.0 (unused)
*/
void setThermo(ThermoPhase& th) {
m_thermo = &th;
}
void setThermo(ThermoPhase& th);

virtual void setKinetics(shared_ptr<Kinetics> kin);

Expand Down
2 changes: 1 addition & 1 deletion src/oneD/StFlow.cpp
Expand Up @@ -142,7 +142,7 @@ string StFlow::type() const {
return "unstrained-flow";
}

void StFlow::setThermo(IdealGasPhase& th) {
void StFlow::setThermo(ThermoPhase& th) {
warn_deprecated("StFlow::setThermo", "To be removed after Cantera 3.0.");
m_thermo = &th;
}
Expand Down

0 comments on commit 97456f8

Please sign in to comment.