removed debug info

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5561 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2012-09-17 20:19:02 +00:00
parent 41cb5b7d34
commit bb49359fdb
2 changed files with 15 additions and 2 deletions

View file

@ -196,7 +196,13 @@ class PQInterface: public RateInterface
virtual int SendItem(RsItem *item,uint32_t& size)
{
size = 0 ;
std::cerr << "Warning: PQInterface::SendItem(RsItem*,uint32_t&) calledbut not overloaded! Serialized size will not be returned." << std::endl;
static bool already=false ;
if(!already)
{
std::cerr << "Warning: PQInterface::SendItem(RsItem*,uint32_t&) calledbut not overloaded! Serialized size will not be returned." << std::endl;
already=true ;
}
return SendItem(item) ;
}