* we can now disable deprecated messages

This commit is contained in:
Caner Candan 2012-06-17 21:01:16 +02:00
commit f962a7942b
4 changed files with 12 additions and 2 deletions

View file

@ -188,8 +188,11 @@ public:
virtual void add(eoQuadOp<EOT> & _op, const double _rate, bool _verbose)
{
#ifndef DEPRECATED_MESSAGES
#pragma message "The use of the verbose parameter in eoPropCombinedQuadOp::add is deprecated and will be removed in the next release."
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;
#endif // !DEPRECATED_MESSAGES
add(_op,_rate);
}