summaryrefslogtreecommitdiff
path: root/include/o3tl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-09-19 17:49:11 +0200
committerMichael Stahl <mstahl@redhat.com>2016-09-20 14:30:17 +0200
commit14bcb68cbbd23db8705d40dd116d3970a00b08e7 (patch)
treef1f626742823588949109d85b0bd9f9fbb31bf77 /include/o3tl
parent3f736b998d6606f5b6066bca528c15d5f40242b5 (diff)
o3tl: replace yet another sal_Size with std::size_t
Change-Id: I3f6a401d6d5ed7b44a71dc8bda559dcc4d57ee32
Diffstat (limited to 'include/o3tl')
-rw-r--r--include/o3tl/cow_wrapper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/o3tl/cow_wrapper.hxx b/include/o3tl/cow_wrapper.hxx
index 425a166b36ba..a80241e3a8a1 100644
--- a/include/o3tl/cow_wrapper.hxx
+++ b/include/o3tl/cow_wrapper.hxx
@@ -23,6 +23,7 @@
#include <osl/interlck.h>
#include <utility>
+#include <cstddef>
namespace o3tl
{
@@ -34,7 +35,7 @@ namespace o3tl
*/
struct UnsafeRefCountingPolicy
{
- typedef sal_Size ref_count_t;
+ typedef std::size_t ref_count_t;
static void incrementCount( ref_count_t& rCount ) { ++rCount; }
static bool decrementCount( ref_count_t& rCount ) { return --rCount != 0; }
};