From 4ecc6555878027f1cc0f853e1aa023f12167f96f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 28 Aug 2017 15:47:32 +0200 Subject: Replace use of oslInterlockedCount with std::atomic in bridges Change-Id: Iad47a01fd283345a2461eaaea50633bf840e5201 --- bridges/inc/unointerfaceproxy.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bridges/inc/unointerfaceproxy.hxx') 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 + +#include +#include + #include "rtl/ustring.hxx" #include "sal/types.h" #include "typelib/typedescription.h" @@ -83,7 +87,7 @@ private: ~UnoInterfaceProxy(); - oslInterlockedCount nRef; + std::atomic nRef; Bridge * pBridge; // mapping information -- cgit