From 76474cdea94d687cb43654face631f995d79bf18 Mon Sep 17 00:00:00 2001 From: Joseph Lee Date: Fri, 9 Jul 2004 23:51:35 +0000 Subject: [PATCH] inline declarations for ConnectionWriter:: get_cw() && get_qcr() should be protected behind #ifdef HAVE_NSPR also --- direct/src/distributed/cConnectionRepository.I | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/direct/src/distributed/cConnectionRepository.I b/direct/src/distributed/cConnectionRepository.I index 89d22bd31a..791c2f635d 100644 --- a/direct/src/distributed/cConnectionRepository.I +++ b/direct/src/distributed/cConnectionRepository.I @@ -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