Remove const that breaks binary compatibility (const are mangled too).
Thanks axeld to point at them. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8569 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -62,7 +62,7 @@ public:
|
||||
/*
|
||||
* It is important to call InitCheck() after creating an instance of this class.
|
||||
*/
|
||||
status_t InitCheck() const;
|
||||
status_t InitCheck();
|
||||
|
||||
|
||||
/*
|
||||
@@ -105,8 +105,8 @@ public:
|
||||
* BNetEndpoint. RemoteAddr() returns a BNetAddress corresponding to the address of
|
||||
* the remote peer we are connected to, if using a connected stream protocol.
|
||||
*/
|
||||
const BNetAddress & LocalAddr() const;
|
||||
const BNetAddress & RemoteAddr() const;
|
||||
const BNetAddress & LocalAddr();
|
||||
const BNetAddress & RemoteAddr();
|
||||
|
||||
/*
|
||||
* BNetEndpoint::Socket() returns the actual socket used for data communications.
|
||||
|
||||
@@ -157,7 +157,7 @@ BArchivable *BNetEndpoint::Instantiate(BMessage *archive)
|
||||
// #pragma mark -
|
||||
|
||||
|
||||
status_t BNetEndpoint::InitCheck() const
|
||||
status_t BNetEndpoint::InitCheck()
|
||||
{
|
||||
return m_init;
|
||||
}
|
||||
@@ -169,13 +169,13 @@ int BNetEndpoint::Socket() const
|
||||
}
|
||||
|
||||
|
||||
const BNetAddress & BNetEndpoint::LocalAddr() const
|
||||
const BNetAddress & BNetEndpoint::LocalAddr()
|
||||
{
|
||||
return m_addr;
|
||||
}
|
||||
|
||||
|
||||
const BNetAddress & BNetEndpoint::RemoteAddr() const
|
||||
const BNetAddress & BNetEndpoint::RemoteAddr()
|
||||
{
|
||||
return m_peer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user