fix #13: remove the use of the verbose members, replaced by the eo::log system ; functions prototypes keep their verbose parameters, but display a warning until next version
This commit is contained in:
parent
77e97a6ba0
commit
a9f382a30c
7 changed files with 32 additions and 37 deletions
|
|
@ -176,10 +176,11 @@ virtual std::string className() const { return "eoPropCombinedQuadOp"; }
|
|||
// addition of a true operator
|
||||
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;
|
||||
|
||||
ops.push_back(&_op);
|
||||
rates.push_back(_rate);
|
||||
// compute the relative rates in percent - to warn the user!
|
||||
if (_verbose)
|
||||
printOn( eo::log << eo::logging );
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue