diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:04:35 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-08 08:04:35 +0100 |
commit | 9027b24610848c0eb0d768b60b132ce9e09dee7d (patch) | |
tree | f2b313d8110861616f330776f20f1df0c348cc0b /ACE/tests/Array_Map_Test.cpp | |
parent | cfb87b202043d9f6b5532f3e3e4e431f6ced4c0b (diff) | |
download | ATCD-9027b24610848c0eb0d768b60b132ce9e09dee7d.tar.gz |
Removed redundant void
Diffstat (limited to 'ACE/tests/Array_Map_Test.cpp')
-rw-r--r-- | ACE/tests/Array_Map_Test.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ACE/tests/Array_Map_Test.cpp b/ACE/tests/Array_Map_Test.cpp index 3a37624ce85..5aad75f3a7e 100644 --- a/ACE/tests/Array_Map_Test.cpp +++ b/ACE/tests/Array_Map_Test.cpp @@ -40,7 +40,7 @@ static size_t const words_len = sizeof (words) / sizeof (words[0]); // -------------------------------------------------------------- bool -insertion_removal_test (void) +insertion_removal_test () { // Instantiate the map. typedef ACE_Array_Map<char, ACE_TString> Map; @@ -220,7 +220,7 @@ insertion_removal_test (void) // -------------------------------------------------------------- bool -index_operator_test (void) +index_operator_test () { // Instantiate the map. typedef ACE_Array_Map<char, ACE_TString> Map; @@ -337,7 +337,7 @@ class RefCounted { public: - RefCounted (void) + RefCounted () : refcount_ (0) { } @@ -347,7 +347,7 @@ public: { } - ~RefCounted (void) + ~RefCounted () { if (this->refcount_) --(*this->refcount_); @@ -370,13 +370,13 @@ public: } unsigned int * - refcount_ptr (void) const + refcount_ptr () const { return this->refcount_; } unsigned int - refcount (void) const + refcount () const { return *this->refcount_; } @@ -390,7 +390,7 @@ private: // -------- bool -reference_count_test (void) +reference_count_test () { typedef ACE_Array_Map<ACE_TString, RefCounted> Map; |