diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 18:44:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 18:44:09 +0100 |
commit | b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f (patch) | |
tree | f78fc5b7b2ea337ffc306a77223018fcc780e507 /ACE/ace/Active_Map_Manager_T.h | |
parent | 199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff) | |
parent | adc1dcda981a4c76612bedeba2dddb76aa272d6f (diff) | |
download | ATCD-b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f.tar.gz |
Merge pull request #1446 from jwillemsen/jwi-cpp11cleanup
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Active_Map_Manager_T.h')
-rw-r--r-- | ACE/ace/Active_Map_Manager_T.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ACE/ace/Active_Map_Manager_T.h b/ACE/ace/Active_Map_Manager_T.h index 8bfb7afcc5c..d17c9426406 100644 --- a/ACE/ace/Active_Map_Manager_T.h +++ b/ACE/ace/Active_Map_Manager_T.h @@ -8,7 +8,6 @@ */ //============================================================================= - #ifndef ACE_ACTIVE_MAP_MANAGER_T_H #define ACE_ACTIVE_MAP_MANAGER_T_H #include /**/ "ace/pre.h" @@ -50,11 +49,11 @@ public: typedef REVERSE_ITERATOR reverse_iterator; /// Initialize a Active_Map_Manager with the ACE_DEFAULT_MAP_SIZE. - ACE_Active_Map_Manager (ACE_Allocator *alloc = 0); + ACE_Active_Map_Manager (ACE_Allocator *alloc = nullptr); /// Initialize a Active_Map_Manager with @a size entries. ACE_Active_Map_Manager (size_t size, - ACE_Allocator *alloc = 0); + ACE_Allocator *alloc = nullptr); /// Close down a Active_Map_Manager and release dynamically /// allocated resources. @@ -62,7 +61,7 @@ public: /// Initialize a Active_Map_Manager with size @a length. int open (size_t length = ACE_DEFAULT_MAP_SIZE, - ACE_Allocator *alloc = 0); + ACE_Allocator *alloc = nullptr); /// Close down a Active_Map_Manager and release dynamically /// allocated resources. |