diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-04-18 16:17:14 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-04-18 16:17:14 +0200 |
commit | 601491ce979d21147c9e8449825084e252c17579 (patch) | |
tree | 9826bdc7016e2a36e1add059e84b91391da30d02 /ACE/ace/Malloc_Base.h | |
parent | 54554146263fa81226ba54061170036fc329b595 (diff) | |
download | ATCD-601491ce979d21147c9e8449825084e252c17579.tar.gz |
Changed ACE_Allocator::delete_allocator_ to be a bool
* ACE/ace/Malloc.cpp:
* ACE/ace/Malloc_Allocator.cpp:
* ACE/ace/Malloc_Base.h:
Diffstat (limited to 'ACE/ace/Malloc_Base.h')
-rw-r--r-- | ACE/ace/Malloc_Base.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 <n_elem> 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 <allocator_> if non-0. - static int delete_allocator_; + /// Must delete the <allocator_> if true. + static bool delete_allocator_; }; /** |