summaryrefslogtreecommitdiff
path: root/ACE/ace/Efficient_P_Strategy.inl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Efficient_P_Strategy.inl')
-rw-r--r--ACE/ace/Efficient_P_Strategy.inl3
1 files changed, 1 insertions, 2 deletions
diff --git a/ACE/ace/Efficient_P_Strategy.inl b/ACE/ace/Efficient_P_Strategy.inl
index e42a2330f8e..fdd6b76468d 100644
--- a/ACE/ace/Efficient_P_Strategy.inl
+++ b/ACE/ace/Efficient_P_Strategy.inl
@@ -42,7 +42,6 @@ Efficient_P_Strategy<AnnotationId>::grant(AnnotationId handle)
p_r--;
}
}
- return true;
}
template <typename AnnotationId>
@@ -50,7 +49,7 @@ ACE_INLINE
void
Efficient_P_Strategy<AnnotationId>::release(AnnotationId upcall_handle)
{
- int annotation = get_annotation(handle);
+ int annotation = get_annotation(upcall_handle);
{
ACE_Guard<ACE_Thread_Mutex> guard(_lock);
t_r ++;