avoid problems with the GNU inliner in gcc 2.96
This commit is contained in:
@@ -562,3 +562,13 @@ SOCKET casDGIntfIO::makeSockDG ()
|
||||
|
||||
return newSock;
|
||||
}
|
||||
|
||||
//
|
||||
// casDGIntfIO::getFD()
|
||||
// (avoid problems with the GNU inliner)
|
||||
//
|
||||
inline int casDGIntfIO::getFD() const
|
||||
{
|
||||
return this->sock;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,15 +2,6 @@
|
||||
#ifndef casIODILh
|
||||
#define casIODILh
|
||||
|
||||
|
||||
//
|
||||
// casDGIntfIO::getFD()
|
||||
//
|
||||
inline int casDGIntfIO::getFD() const
|
||||
{
|
||||
return this->sock;
|
||||
}
|
||||
|
||||
//
|
||||
// casDGIntfIO::getBCastFD()
|
||||
//
|
||||
@@ -27,13 +18,5 @@ inline bool casDGIntfIO::validBCastFD() const
|
||||
return this->bcastRecvSock!=INVALID_SOCKET;
|
||||
}
|
||||
|
||||
//
|
||||
// casIntfIO::serverAddress ()
|
||||
//
|
||||
inline caNetAddr casIntfIO::serverAddress () const
|
||||
{
|
||||
return caNetAddr (this->addr);
|
||||
}
|
||||
|
||||
#endif // casIODILh
|
||||
|
||||
|
||||
@@ -221,3 +221,12 @@ void casIntfIO::show(unsigned level) const
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// casIntfIO::serverAddress ()
|
||||
// (avoid problems with GNU inliner)
|
||||
//
|
||||
caNetAddr casIntfIO::serverAddress () const
|
||||
{
|
||||
return caNetAddr (this->addr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user