summaryrefslogtreecommitdiff
path: root/ACE/ace/Malloc_Base.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Malloc_Base.h')
-rw-r--r--ACE/ace/Malloc_Base.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ACE/ace/Malloc_Base.h b/ACE/ace/Malloc_Base.h
index 267021ce799..76e63076bd6 100644
--- a/ACE/ace/Malloc_Base.h
+++ b/ACE/ace/Malloc_Base.h
@@ -45,20 +45,20 @@ public:
// = Memory Management
/// Get pointer to a default ACE_Allocator.
- static ACE_Allocator *instance (void);
+ static ACE_Allocator *instance ();
/// Set pointer to a process-wide ACE_Allocator and return existing
/// pointer.
static ACE_Allocator *instance (ACE_Allocator *);
/// Delete the dynamically allocated Singleton
- static void close_singleton (void);
+ static void close_singleton ();
/// "No-op" constructor (needed to make certain compilers happy).
- ACE_Allocator (void);
+ ACE_Allocator ();
/// Virtual destructor
- virtual ~ACE_Allocator (void);
+ virtual ~ACE_Allocator ();
/// Allocate @a nbytes, but don't give them any initial value.
virtual void *malloc (size_type nbytes) = 0;
@@ -76,7 +76,7 @@ public:
virtual void free (void *ptr) = 0;
/// Remove any resources associated with this memory manager.
- virtual int remove (void) = 0;
+ virtual int remove () = 0;
// = Map manager like functions
@@ -149,7 +149,7 @@ public:
#endif /* ACE_HAS_MALLOC_STATS */
/// Dump the state of the object.
- virtual void dump (void) const = 0;
+ virtual void dump () const = 0;
private:
// DO NOT ADD ANY STATE (DATA MEMBERS) TO THIS CLASS!!!! See the
// <ACE_Allocator::instance> implementation for explanation.