summaryrefslogtreecommitdiff
path: root/stoc/source/security
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-02-21 17:01:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-02-21 17:01:38 +0100
commited316fc677eded381bb7d90783f54834eb6df078 (patch)
treefb00fec0ebac28effc4df34294e3c1b4a9324c4c /stoc/source/security
parent712b33cdbbad997db327115145110fbdee09f2f8 (diff)
osl_atomic_increment/decrement are macros
Change-Id: I3a294c5c800597f3b17395e1e02944f5279e3753
Diffstat (limited to 'stoc/source/security')
-rw-r--r--stoc/source/security/access_controller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/stoc/source/security/access_controller.cxx b/stoc/source/security/access_controller.cxx
index 987d6ec6c57f..c774793b2221 100644
--- a/stoc/source/security/access_controller.cxx
+++ b/stoc/source/security/access_controller.cxx
@@ -300,13 +300,13 @@ acc_CurrentContext::~acc_CurrentContext()
void acc_CurrentContext::acquire()
throw ()
{
- ::osl_atomic_increment( &m_refcount );
+ osl_atomic_increment( &m_refcount );
}
//__________________________________________________________________________________________________
void acc_CurrentContext::release()
throw ()
{
- if (! ::osl_atomic_decrement( &m_refcount ))
+ if (! osl_atomic_decrement( &m_refcount ))
{
delete this;
}