Browse Source

inline declarations for ConnectionWriter:: get_cw() && get_qcr() should be protected behind #ifdef HAVE_NSPR also

Joseph Lee 21 years ago
parent
commit
76474cdea9
1 changed files with 2 additions and 3 deletions
  1. 2 3
      direct/src/distributed/cConnectionRepository.I

+ 2 - 3
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