summaryrefslogtreecommitdiff
path: root/ACE/ace/Guard_T.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 09:35:44 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-09-16 09:35:44 +0000
commitccd8d0fde164448b6258d9de3574e52374edc829 (patch)
treec955d352994cbd1cd500768dfe64f31e35ecfd9a /ACE/ace/Guard_T.inl
parent7c4c934daf46588a0afbc2cf974fdc8946d49815 (diff)
downloadATCD-ccd8d0fde164448b6258d9de3574e52374edc829.tar.gz
Diffstat (limited to 'ACE/ace/Guard_T.inl')
-rw-r--r--ACE/ace/Guard_T.inl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/Guard_T.inl b/ACE/ace/Guard_T.inl
index 7dab2dfdcc3..e37ac76bb6c 100644
--- a/ACE/ace/Guard_T.inl
+++ b/ACE/ace/Guard_T.inl
@@ -65,7 +65,7 @@ ACE_Guard<ACE_LOCK>::~ACE_Guard (void)
this->release ();
}
-template <class ACE_LOCK> ACE_INLINE int
+template <class ACE_LOCK> ACE_INLINE bool
ACE_Guard<ACE_LOCK>::locked (void) const
{
return this->owner_ != -1;