summaryrefslogtreecommitdiff
path: root/ace/Object_Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Object_Manager.h')
-rw-r--r--ace/Object_Manager.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/ace/Object_Manager.h b/ace/Object_Manager.h
index 957f67843eb..8b77018a28c 100644
--- a/ace/Object_Manager.h
+++ b/ace/Object_Manager.h
@@ -92,6 +92,16 @@ public:
// when the current thread exits instead of when the program terminates.
#endif /* 0 */
+ enum Preallocated_Objects
+ {
+#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
+ ACE_MT_CORBA_HANDLER_LOCK,
+ ACE_DUMP_LOCK,
+#endif /* ACE_MT_SAFE */
+
+ ACE_END_OF_PREALLOCATED_OBJECTS // This enum value must be last!
+ };
+
private:
static ACE_Object_Manager *instance_;
// Singleton pointer.
@@ -190,16 +200,6 @@ public:
// ENOSPC if no more table slots are available: see the
// ACE_MAX_MANAGED_OBJECTS config variable.
- enum Preallocated_Objects
- {
-#if defined (ACE_MT_SAFE) && (ACE_MT_SAFE != 0)
- ACE_MT_CORBA_HANDLER_LOCK,
- ACE_DUMP_LOCK,
-#endif /* ACE_MT_SAFE */
-
- ACE_END_OF_PREALLOCATED_OBJECTS // This enum value must be last!
- };
-
static TYPE *get_object (u_int &id);
// Get the object identified by "id". Returns a pointer to the
// object, or 0 if any error was encountered. Because no other