alternate function prototypes without verbose parameter
This commit is contained in:
parent
42c7dc28e1
commit
9c51b925b6
4 changed files with 24 additions and 8 deletions
|
|
@ -171,13 +171,17 @@ public:
|
|||
rates.push_back(_rate);
|
||||
}
|
||||
|
||||
virtual std::string className() const { return "eoPropCombinedQuadOp"; }
|
||||
virtual std::string className() const { return "eoPropCombinedQuadOp"; }
|
||||
|
||||
// addition of a true operator
|
||||
virtual void add(eoQuadOp<EOT> & _op, const double _rate, bool _verbose=false)
|
||||
virtual void add(eoQuadOp<EOT> & _op, const double _rate, bool _verbose=false)
|
||||
{
|
||||
eo::log << eo::warnings << "WARNING: the use of the verbose parameter in eoPropCombinedQuadOp::add is deprecated and will be removed in the next release." << std::endl;
|
||||
add(_op,_rate);
|
||||
}
|
||||
|
||||
// addition of a true operator
|
||||
virtual void add(eoQuadOp<EOT> & _op, const double _rate)
|
||||
{
|
||||
ops.push_back(&_op);
|
||||
rates.push_back(_rate);
|
||||
// compute the relative rates in percent - to warn the user!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue