mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 08:44:19 -04:00
inline declarations for ConnectionWriter:: get_cw() && get_qcr() should be protected behind #ifdef HAVE_NSPR also
This commit is contained in:
parent
316e4e29a1
commit
76474cdea9
@ -92,6 +92,7 @@ INLINE ConnectionWriter &CConnectionRepository::
|
||||
get_cw() {
|
||||
return _cw;
|
||||
}
|
||||
INLINE ConnectionWriter &get_cw();
|
||||
#endif // HAVE_NSPR
|
||||
|
||||
#ifdef HAVE_NSPR
|
||||
@ -105,10 +106,8 @@ INLINE QueuedConnectionReader &CConnectionRepository::
|
||||
get_qcr() {
|
||||
return _qcr;
|
||||
}
|
||||
#endif // HAVE_NSPR
|
||||
|
||||
INLINE ConnectionWriter &get_cw();
|
||||
INLINE QueuedConnectionReader &get_qcr();
|
||||
#endif // HAVE_NSPR
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
// Function: CConnectionRepository::get_datagram
|
||||
|
Loading…
x
Reference in New Issue
Block a user