o3tl: replace yet another sal_Size with std::size_t
Change-Id: I3f6a401d6d5ed7b44a71dc8bda559dcc4d57ee32
This commit is contained in:
parent
3f736b998d
commit
14bcb68cbb
@ -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; }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user