summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB.i
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-08 20:58:22 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-06-08 20:58:22 +0000
commit439da4c130337ec4f6e0dce54d9e10c882664761 (patch)
tree7afbaf3d6802869877661a66e37c809ef0f22c46 /TAO/tao/ORB.i
parentf0943b706ed2d279b2dd3085db059819cf6ab208 (diff)
downloadATCD-439da4c130337ec4f6e0dce54d9e10c882664761.tar.gz
Avoid inline function being used before declared inlined warnings.
Diffstat (limited to 'TAO/tao/ORB.i')
-rw-r--r--TAO/tao/ORB.i30
1 files changed, 17 insertions, 13 deletions
diff --git a/TAO/tao/ORB.i b/TAO/tao/ORB.i
index 2f35fe039d6..0b5baf8ecde 100644
--- a/TAO/tao/ORB.i
+++ b/TAO/tao/ORB.i
@@ -5,19 +5,6 @@
// String_var type
// ----------------------------------------------------------------------
-ACE_INLINE CORBA::Boolean
-CORBA::is_nil (CORBA::ORB_ptr obj)
-{
- return obj == 0;
-}
-
-ACE_INLINE void
-CORBA::release (CORBA::ORB_ptr obj)
-{
- if (obj)
- obj->_decr_refcnt ();
-}
-
ACE_INLINE
CORBA_String_var::CORBA_String_var (void)
{
@@ -335,6 +322,23 @@ CORBA_ORB::orb_core (void) const
return this->orb_core_;
}
+// ************************************************************
+// These are in CORBA namespace
+// ************************************************************
+
+ACE_INLINE CORBA::Boolean
+CORBA::is_nil (CORBA::ORB_ptr obj)
+{
+ return obj == 0;
+}
+
+ACE_INLINE void
+CORBA::release (CORBA::ORB_ptr obj)
+{
+ if (obj)
+ obj->_decr_refcnt ();
+}
+
// *************************************************************
// Inline operations for class CORBA_ORB_var
// *************************************************************