Kaydet (Commit) 14bcb68c authored tarafından Michael Stahl's avatar Michael Stahl

o3tl: replace yet another sal_Size with std::size_t

Change-Id: I3f6a401d6d5ed7b44a71dc8bda559dcc4d57ee32
üst 3f736b99
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <osl/interlck.h> #include <osl/interlck.h>
#include <utility> #include <utility>
#include <cstddef>
namespace o3tl namespace o3tl
{ {
...@@ -34,7 +35,7 @@ namespace o3tl ...@@ -34,7 +35,7 @@ namespace o3tl
*/ */
struct UnsafeRefCountingPolicy struct UnsafeRefCountingPolicy
{ {
typedef sal_Size ref_count_t; typedef std::size_t ref_count_t;
static void incrementCount( ref_count_t& rCount ) { ++rCount; } static void incrementCount( ref_count_t& rCount ) { ++rCount; }
static bool decrementCount( ref_count_t& rCount ) { return --rCount != 0; } static bool decrementCount( ref_count_t& rCount ) { return --rCount != 0; }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment