summaryrefslogtreecommitdiff
path: root/ACE/ace/Condition_Thread_Mutex.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2012-08-20 08:13:23 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2012-08-20 08:13:23 +0000
commitb148972cae812478aaa7b61db111e01f5f2d73c9 (patch)
tree459ec4ca233101eb95dcae3ddbc1c1a590689219 /ACE/ace/Condition_Thread_Mutex.cpp
parent280cd7e81799a75a79b33ee1ab21eca582252a96 (diff)
downloadATCD-b148972cae812478aaa7b61db111e01f5f2d73c9.tar.gz
Mon Aug 20 07:57:53 UTC 2012 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Condition_Attributes.h: * ace/Condition_Attributes.inl: Added accessor for attributes and removed friend declaration, that hopefully fixes the Sun Studio 11 problems * ace/Condition_Recursive_Thread_Mutex.cpp: * ace/Condition_T.cpp: * ace/Condition_Thread_Mutex.cpp: Use accessor of the attributes.
Diffstat (limited to 'ACE/ace/Condition_Thread_Mutex.cpp')
-rw-r--r--ACE/ace/Condition_Thread_Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Condition_Thread_Mutex.cpp b/ACE/ace/Condition_Thread_Mutex.cpp
index f6b4d50eb10..b83f86ef6c3 100644
--- a/ACE/ace/Condition_Thread_Mutex.cpp
+++ b/ACE/ace/Condition_Thread_Mutex.cpp
@@ -65,7 +65,7 @@ ACE_Condition<ACE_Thread_Mutex>::ACE_Condition (ACE_Thread_Mutex &m,
{
// ACE_TRACE ("ACE_Condition<ACE_Thread_Mutex>::ACE_Condition<ACE_Thread_Mutex>");
if (ACE_OS::cond_init (&this->cond_,
- const_cast<ACE_Condition_Attributes &> (attributes).attributes_,
+ const_cast<ACE_condattr_t &> (attributes.attributes ()),
name, arg) != 0)
ACE_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"),
ACE_TEXT ("ACE_Condition<ACE_Thread_Mutex>::ACE_Condition<ACE_Thread_Mutex>")));