From 601491ce979d21147c9e8449825084e252c17579 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Sat, 18 Apr 2020 16:17:14 +0200 Subject: Changed ACE_Allocator::delete_allocator_ to be a bool * ACE/ace/Malloc.cpp: * ACE/ace/Malloc_Allocator.cpp: * ACE/ace/Malloc_Base.h: --- ACE/ace/Malloc_Base.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ACE/ace/Malloc_Base.h') diff --git a/ACE/ace/Malloc_Base.h b/ACE/ace/Malloc_Base.h index b2690699226..8691f9090bb 100644 --- a/ACE/ace/Malloc_Base.h +++ b/ACE/ace/Malloc_Base.h @@ -67,7 +67,7 @@ public: /// Allocate @a nbytes, giving them @a initial_value. virtual void *calloc (size_type nbytes, char initial_value = '\0') = 0; - /// Allocate each of size @a elem_size, giving them + /// Allocate @a n_elem each of size @a elem_size, giving them /// @a initial_value. virtual void *calloc (size_type n_elem, size_type elem_size, @@ -158,8 +158,8 @@ private: /// Pointer to a process-wide ACE_Allocator instance. static ACE_Allocator *allocator_; - /// Must delete the if non-0. - static int delete_allocator_; + /// Must delete the if true. + static bool delete_allocator_; }; /** -- cgit v1.2.1