summaryrefslogtreecommitdiff
path: root/ACE/ace/Service_Repository.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Service_Repository.inl')
-rw-r--r--ACE/ace/Service_Repository.inl17
1 files changed, 2 insertions, 15 deletions
diff --git a/ACE/ace/Service_Repository.inl b/ACE/ace/Service_Repository.inl
index a042a0f9a1d..056534a4a55 100644
--- a/ACE/ace/Service_Repository.inl
+++ b/ACE/ace/Service_Repository.inl
@@ -19,20 +19,7 @@ ACE_Service_Repository::current_size (void) const
ACE_MT (ACE_GUARD_RETURN (ACE_Recursive_Thread_Mutex,
ace_mon,
(ACE_Recursive_Thread_Mutex &) this->lock_, 0));
- return this->current_size_;
-}
-
-// Returns a count of the total number of possible entries in the
-// table.
-
-ACE_INLINE size_t
-ACE_Service_Repository::total_size (void) const
-{
- ACE_TRACE ("ACE_Service_Repository::total_size");
- ACE_MT (ACE_GUARD_RETURN (ACE_Recursive_Thread_Mutex,
- ace_mon,
- (ACE_Recursive_Thread_Mutex &) this->lock_, 0));
- return this->total_size_;
+ return this->service_array_.size ();
}
ACE_INLINE int
@@ -40,7 +27,7 @@ ACE_Service_Repository_Iterator::done (void) const
{
ACE_TRACE ("ACE_Service_Repository_Iterator::done");
- return this->next_ >= this->svc_rep_.current_size_;
+ return this->next_ >= this->svc_rep_.current_size ();
}
ACE_INLINE