mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 12:24:24 -04:00
fixed compilation issue on ubuntu
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3340 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
a999c317ff
commit
43e9f65003
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ class rsUdpStack: public UdpStack, public pqiNetListener
|
||||||
/* from pqiNetListener */
|
/* from pqiNetListener */
|
||||||
virtual bool resetListener(struct sockaddr_in &local)
|
virtual bool resetListener(struct sockaddr_in &local)
|
||||||
{
|
{
|
||||||
std::cerr << "rsUdpStack::resetListener(" << local << ")";
|
// The const_cast below is not so nice but without it, the compiler can't
|
||||||
|
// find the correct operator<<(). No idea why!
|
||||||
|
std::cerr << "rsUdpStack::resetListener(" << const_cast<const struct sockaddr_in &>(local) << ")";
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
return resetAddress(local);
|
return resetAddress(local);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue