summaryrefslogtreecommitdiff
path: root/binaryurp/source/proxy.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'binaryurp/source/proxy.hxx')
-rw-r--r--binaryurp/source/proxy.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/binaryurp/source/proxy.hxx b/binaryurp/source/proxy.hxx
index 5ad8cee120dc..e8ed0fea2dad 100644
--- a/binaryurp/source/proxy.hxx
+++ b/binaryurp/source/proxy.hxx
@@ -22,7 +22,9 @@
#include "sal/config.h"
-#include "osl/interlck.h"
+#include <atomic>
+#include <cstddef>
+
#include "rtl/ref.hxx"
#include "rtl/ustring.hxx"
#include "typelib/typedescription.h"
@@ -78,7 +80,7 @@ private:
rtl::Reference< Bridge > bridge_;
OUString oid_;
com::sun::star::uno::TypeDescription type_;
- oslInterlockedCount references_;
+ std::atomic<std::size_t> references_;
};
}