Skip to content

Commit

Permalink
[Kinetics] Remove deprecation directive for empty newReaction
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl authored and bryanwweber committed May 28, 2022
1 parent a521e40 commit 631522a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion include/cantera/kinetics/Reaction.h
Expand Up @@ -300,7 +300,6 @@ class CustomFunc1Reaction : public Reaction
//! Create a new empty Reaction object
/*!
* @param type string identifying type of reaction.
* @deprecated To be removed after Cantera 2.6. Only used for legacy reaction types.
*/
unique_ptr<Reaction> newReaction(const std::string& type);

Expand Down
2 changes: 1 addition & 1 deletion src/kinetics/Reaction.cpp
Expand Up @@ -81,7 +81,7 @@ Reaction::Reaction(const AnyMap& node, const Kinetics& kin)
setRate(newReactionRate(rateNode, calculateRateCoeffUnits(kin)));
}
} else {
// @deprecated This route is only used for legacy reaction types.
// This route is used by the Python API.
setRate(newReactionRate(node));
}
}
Expand Down

0 comments on commit 631522a

Please sign in to comment.