summaryrefslogtreecommitdiff
path: root/ace/Map_Manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Map_Manager.h')
-rw-r--r--ace/Map_Manager.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/ace/Map_Manager.h b/ace/Map_Manager.h
index 0925d3c6dd7..3a1969b7707 100644
--- a/ace/Map_Manager.h
+++ b/ace/Map_Manager.h
@@ -34,26 +34,28 @@ class ACE_Map_Entry
// = TITLE
// An entry in the Map.
public:
-# if ! defined (ACE_HAS_BROKEN_NOOP_DTORS)
- ~ACE_Map_Entry (void);
- // We need this destructor to keep some compilers from complaining.
- // It's just a no-op, however.
-# endif /* ! defined (ACE_HAS_BROKEN_NOOP_DTORS) */
-
EXT_ID ext_id_;
// Key used to look up an entry.
INT_ID int_id_;
// The contents of the entry itself.
+# if ! defined (ACE_HAS_BROKEN_NOOP_DTORS)
+ ~ACE_Map_Entry (void);
+ // We need this destructor to keep some compilers from complaining.
+ // It's just a no-op, however.
+# endif /* ! defined (ACE_HAS_BROKEN_NOOP_DTORS) */
+
void dump (void) const;
// Dump the state of an object.
ACE_ALLOC_HOOK_DECLARE;
// Declare the dynamic allocation hooks.
+ //
// = These are really private, but unfortunately template friends
- // are not portable.
+ // don't work too well.
+ //
size_t next (void) const;
void next (size_t n);
@@ -200,10 +202,10 @@ public:
// in case the caller needs to deallocate memory. Returns 0 if
// successful, else -1.
- size_t current_size (void) const;
+ size_t current_size (void);
// Return the current size of the map.
- size_t total_size (void) const;
+ size_t total_size (void);
// Return the total size of the map.
ACE_LOCK &mutex (void);