diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
commit | 3da59eac098c1ef9d2c98f2079185ff35c3b6105 (patch) | |
tree | 379c29e09bf55597fe6740cd163478cd1204a181 /ACE/examples/APG/Containers/Map_Manager_Specialization.cpp | |
parent | fe03724176dcfd20e0f9a6e493198469242be6b6 (diff) | |
download | ATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz |
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'ACE/examples/APG/Containers/Map_Manager_Specialization.cpp')
-rw-r--r-- | ACE/examples/APG/Containers/Map_Manager_Specialization.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ACE/examples/APG/Containers/Map_Manager_Specialization.cpp b/ACE/examples/APG/Containers/Map_Manager_Specialization.cpp index 6bf41ffb9a3..e28634d5a0d 100644 --- a/ACE/examples/APG/Containers/Map_Manager_Specialization.cpp +++ b/ACE/examples/APG/Containers/Map_Manager_Specialization.cpp @@ -49,23 +49,23 @@ class Map_Example { public: // Illustrate the ACE_Map_Manager<>. - int run (void); + int run (); private: // Iterate in the forward direction. - void iterate_forward (void); + void iterate_forward (); // Iterate in the other direction. - void iterate_reverse (void); + void iterate_reverse (); // Remove all elements from the map. - void remove_all (void); + void remove_all (); private: ACE_Map_Manager<KeyType,DataElement,ACE_Null_Mutex> map_; }; -int Map_Example::run (void) +int Map_Example::run () { ACE_TRACE ("Map_Example::run"); @@ -102,7 +102,7 @@ int Map_Example::run (void) return 0; } -void Map_Example::iterate_forward (void) +void Map_Example::iterate_forward () { ACE_TRACE ("Map_Example::iterate_forward"); @@ -117,7 +117,7 @@ void Map_Example::iterate_forward (void) ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n"))); } -void Map_Example::iterate_reverse (void) +void Map_Example::iterate_reverse () { ACE_TRACE ("Map_Example::iterate_reverse"); @@ -132,7 +132,7 @@ void Map_Example::iterate_reverse (void) ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("\n"))); } -void Map_Example::remove_all (void) +void Map_Example::remove_all () { ACE_TRACE ("Map_Example::remove_all"); |