* 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

@ -61,7 +61,9 @@ public:
eoCombinedContinue( eoContinue<EOT>& _cont1, eoContinue<EOT>& _cont2)
: eoContinue<EOT>(), std::vector<eoContinue<EOT>* >()
{
#ifndef DEPRECATED_MESSAGES
#pragma message "The double continuators constructor of eocombinedContinue is deprecated and will be removed in the next release."
#endif // !DEPRECATED_MESSAGES
this->push_back(&_cont1);
this->push_back(&_cont2);
@ -74,7 +76,10 @@ public:
void removeLast(void)
{
#ifndef DEPRECATED_MESSAGES
#pragma message "The removeLast method of eocombinedContinue is deprecated and will be removed in the next release, use pop_back instead."
#endif // !DEPRECATED_MESSAGES
this->pop_back();
}