diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-17 13:26:49 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-12-17 13:26:49 +0100 |
commit | 0e5a2427fbbbc09f39398af052ce1a179a9aa188 (patch) | |
tree | 85011084a5d9764c2af0027157d57459310426f1 | |
parent | 4067667d2179ec33eecb7d0d2b2f6ae7127cc01c (diff) | |
download | ATCD-0e5a2427fbbbc09f39398af052ce1a179a9aa188.tar.gz |
Remove redundant void
-rw-r--r-- | ACE/ace/Test_and_Set.cpp | 2 | ||||
-rw-r--r-- | ACE/ace/Test_and_Set.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Test_and_Set.cpp b/ACE/ace/Test_and_Set.cpp index 4ba0dd61d36..4c089b6b0fc 100644 --- a/ACE/ace/Test_and_Set.cpp +++ b/ACE/ace/Test_and_Set.cpp @@ -18,7 +18,7 @@ ACE_Test_and_Set<ACE_LOCK, TYPE>::ACE_Test_and_Set (TYPE initial_value) // Returns true if we are done, else false. template <class ACE_LOCK, class TYPE> TYPE -ACE_Test_and_Set<ACE_LOCK, TYPE>::is_set (void) const +ACE_Test_and_Set<ACE_LOCK, TYPE>::is_set () const { ACE_GUARD_RETURN (ACE_LOCK, ace_mon, (ACE_LOCK &) this->lock_, this->is_set_); return this->is_set_; diff --git a/ACE/ace/Test_and_Set.h b/ACE/ace/Test_and_Set.h index 6ec541a697e..d7351dd1cc3 100644 --- a/ACE/ace/Test_and_Set.h +++ b/ACE/ace/Test_and_Set.h @@ -37,7 +37,7 @@ public: ACE_Test_and_Set (TYPE initial_value = 0); /// Returns true if we are set, else false. - TYPE is_set (void) const; + TYPE is_set () const; /// Sets the <is_set_> status, returning the original value of /// <is_set_>. |