summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Table.cpp')
-rw-r--r--TAO/tao/ORB_Table.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tao/ORB_Table.cpp b/TAO/tao/ORB_Table.cpp
index 126b08095fd..12ac9358b70 100644
--- a/TAO/tao/ORB_Table.cpp
+++ b/TAO/tao/ORB_Table.cpp
@@ -1,9 +1,6 @@
-// -*- C++ -*-
-//
-// $Id$
-
#include "ORB_Table.h"
#include "ORB_Core.h"
+#include "TAO_Singleton.h"
#if !defined (__ACE_INLINE__)
# include "ORB_Table.inl"
@@ -129,6 +126,12 @@ TAO_ORB_Table::unbind (const char *orb_id)
return result;
}
+TAO_ORB_Table *
+TAO_ORB_Table::instance (void)
+{
+ return TAO_Singleton<TAO_ORB_Table, TAO_SYNCH_MUTEX>::instance ();
+}
+
#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)