diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-20 13:52:34 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-10-20 13:52:34 +0000 |
commit | 8dbb094663f5d90ab67af9c89789d6fae56d1a6f (patch) | |
tree | acd363a8f09e5ccf80e62ca18f049e33243d844b /TAO/tao/TransportCurrent/Current_Impl.cpp | |
parent | 21bf0cae1dc42d91afcf08d4d2007fbab378871c (diff) | |
download | ATCD-8dbb094663f5d90ab67af9c89789d6fae56d1a6f.tar.gz |
Mon Oct 20 13:50:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/tao/TransportCurrent/Current_Impl.cpp')
-rw-r--r-- | TAO/tao/TransportCurrent/Current_Impl.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/tao/TransportCurrent/Current_Impl.cpp b/TAO/tao/TransportCurrent/Current_Impl.cpp index e14dccf18ad..3a824224b9e 100644 --- a/TAO/tao/TransportCurrent/Current_Impl.cpp +++ b/TAO/tao/TransportCurrent/Current_Impl.cpp @@ -52,6 +52,8 @@ namespace TAO return topguard->get (); } + static const TAO::Transport::Stats dummy_transport_stats; + /// Obtains the current transport's stats const TAO::Transport::Stats* Current_Impl::transport_stats (void) const @@ -60,7 +62,7 @@ namespace TAO const TAO_Transport* t = this->transport (); - return (t==0 || t->stats () == 0) ? &dummy : t->stats (); + return (t==0 || t->stats () == 0) ? &dummy_transport_stats : t->stats (); } CORBA::Long Current_Impl::id (void) |