Kaydet (Commit) 5a7dbe1e authored tarafından Thorsten Behrens's avatar Thorsten Behrens

o3tl: refcounts should be native platform int width

Change-Id: I19854d85b680612733557c42ee58b35adb5ea4c3
Reviewed-on: https://gerrit.libreoffice.org/29002Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst 01542bf6
......@@ -34,7 +34,7 @@ namespace o3tl
*/
struct UnsafeRefCountingPolicy
{
typedef sal_uInt32 ref_count_t;
typedef sal_Size ref_count_t;
static void incrementCount( ref_count_t& rCount ) { ++rCount; }
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