summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-03-21 18:20:23 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-03-21 18:20:23 +0000
commit765d3428f02ee3d9061a9b5a07f5cf5e01640f1a (patch)
tree9899f475c6fa4f9fa53242a2cb39f6b19f382ce7
parenta99106098af05bc84825bd3ca37b1d40251c639c (diff)
downloadATCD-765d3428f02ee3d9061a9b5a07f5cf5e01640f1a.tar.gz
Mon Mar 21 18:15:12 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/Stub.inl: * tao/Stub.cpp: Moved refcount manipulate methods inline
-rw-r--r--TAO/ChangeLog6
-rw-r--r--TAO/tao/Stub.cpp13
-rw-r--r--TAO/tao/Stub.inl14
3 files changed, 20 insertions, 13 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog
index b59ad718a47..3bd069a8a65 100644
--- a/TAO/ChangeLog
+++ b/TAO/ChangeLog
@@ -1,3 +1,9 @@
+Mon Mar 21 18:15:12 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl>
+
+ * tao/Stub.inl:
+ * tao/Stub.cpp:
+ Moved refcount manipulate methods inline
+
Mon Mar 21 17:27:15 UTC 2011 Adam Mitz <mitza@ociweb.com>
* bin/tao_orb_tests.lst:
diff --git a/TAO/tao/Stub.cpp b/TAO/tao/Stub.cpp
index 460dd3adf73..0703795d5d4 100644
--- a/TAO/tao/Stub.cpp
+++ b/TAO/tao/Stub.cpp
@@ -549,17 +549,4 @@ TAO_Stub::marshal (TAO_OutputCDR &cdr)
return (CORBA::Boolean) cdr.good_bit ();
}
-void
-TAO_Stub::_incr_refcnt (void)
-{
- ++this->refcount_;
-}
-
-void
-TAO_Stub::_decr_refcnt (void)
-{
- if (--this->refcount_ == 0)
- delete this;
-}
-
TAO_END_VERSIONED_NAMESPACE_DECL
diff --git a/TAO/tao/Stub.inl b/TAO/tao/Stub.inl
index 48743db6320..d4b0ae3d8c7 100644
--- a/TAO/tao/Stub.inl
+++ b/TAO/tao/Stub.inl
@@ -347,6 +347,20 @@ bool TAO_Stub::forwarded_on_exception () const
return forwarded_on_exception_.value ();
}
+ACE_INLINE
+void
+TAO_Stub::_incr_refcnt (void)
+{
+ ++this->refcount_;
+}
+
+ACE_INLINE
+void
+TAO_Stub::_decr_refcnt (void)
+{
+ if (--this->refcount_ == 0)
+ delete this;
+}
// ---------------------------------------------------------------