diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-09-14 19:30:17 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-09-14 19:30:17 +0000 |
commit | 92e866a87d23575859ff7b6d5c936e6654b827c2 (patch) | |
tree | 912fb00ba74a738e14b8aba80d721c84ee2179ab /ace/Token_Invariants.cpp | |
parent | 373e80253705a7d4680cb4f4337a972520e49d94 (diff) | |
download | ATCD-92e866a87d23575859ff7b6d5c936e6654b827c2.tar.gz |
ChangeLogTag:Thu Sep 14 11:59:48 2000 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Token_Invariants.cpp')
-rw-r--r-- | ace/Token_Invariants.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ace/Token_Invariants.cpp b/ace/Token_Invariants.cpp index 6c7c9d421bd..547d64e287e 100644 --- a/ace/Token_Invariants.cpp +++ b/ace/Token_Invariants.cpp @@ -49,8 +49,8 @@ ACE_Token_Invariant_Manager::mutex_acquired (const ACE_TCHAR *token_name) ACE_Mutex_Invariants *inv = 0; if (this->get_mutex (token_name, inv) == -1) return -1; - else - return inv->acquired (); + + return inv->acquired (); } int @@ -102,8 +102,8 @@ ACE_Token_Invariant_Manager::reader_acquired (const ACE_TCHAR *token_name) ACE_RWLock_Invariants *inv = 0; if (this->get_rwlock (token_name, inv) == -1) return -1; - else - return inv->reader_acquired (); + + return inv->reader_acquired (); } int @@ -116,8 +116,8 @@ ACE_Token_Invariant_Manager::writer_acquired (const ACE_TCHAR *token_name) ACE_RWLock_Invariants *inv = 0; if (this->get_rwlock (token_name, inv) == -1) return -1; - else - return inv->writer_acquired (); + + return inv->writer_acquired (); } void |