summaryrefslogtreecommitdiff
path: root/bridges/inc/unointerfaceproxy.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-28 15:47:32 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-28 15:47:32 +0200
commit4ecc6555878027f1cc0f853e1aa023f12167f96f (patch)
tree3c3b5293af846ad4ff9c3176f3594502cc29e3fa /bridges/inc/unointerfaceproxy.hxx
parent52ffad9bb7be800790de6d918154dbeade88cadd (diff)
Replace use of oslInterlockedCount with std::atomic in bridges
Change-Id: Iad47a01fd283345a2461eaaea50633bf840e5201
Diffstat (limited to 'bridges/inc/unointerfaceproxy.hxx')
-rw-r--r--bridges/inc/unointerfaceproxy.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/bridges/inc/unointerfaceproxy.hxx b/bridges/inc/unointerfaceproxy.hxx
index c9697d3491a8..c76b62dd28b0 100644
--- a/bridges/inc/unointerfaceproxy.hxx
+++ b/bridges/inc/unointerfaceproxy.hxx
@@ -20,7 +20,11 @@
#ifndef INCLUDED_BRIDGES_INC_UNOINTERFACEPROXY_HXX
#define INCLUDED_BRIDGES_INC_UNOINTERFACEPROXY_HXX
-#include "osl/interlck.h"
+#include <sal/config.h>
+
+#include <atomic>
+#include <cstddef>
+
#include "rtl/ustring.hxx"
#include "sal/types.h"
#include "typelib/typedescription.h"
@@ -83,7 +87,7 @@ private:
~UnoInterfaceProxy();
- oslInterlockedCount nRef;
+ std::atomic<std::size_t> nRef;
Bridge * pBridge;
// mapping information