diff options
author | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-08 20:58:22 +0000 |
---|---|---|
committer | nanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-06-08 20:58:22 +0000 |
commit | 439da4c130337ec4f6e0dce54d9e10c882664761 (patch) | |
tree | 7afbaf3d6802869877661a66e37c809ef0f22c46 /TAO/tao/ORB.i | |
parent | f0943b706ed2d279b2dd3085db059819cf6ab208 (diff) | |
download | ATCD-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.i | 30 |
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 // ************************************************************* |