From 14bcb68cbbd23db8705d40dd116d3970a00b08e7 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 19 Sep 2016 17:49:11 +0200 Subject: [PATCH] o3tl: replace yet another sal_Size with std::size_t Change-Id: I3f6a401d6d5ed7b44a71dc8bda559dcc4d57ee32 --- include/o3tl/cow_wrapper.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 #include +#include 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; } };