mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-23 22:58:44 +00:00
renderer: chores++
This commit is contained in:
parent
04728acc47
commit
db893255d6
1 changed files with 1 additions and 3 deletions
|
@ -95,9 +95,7 @@ namespace tvg
|
||||||
|
|
||||||
uint8_t ref()
|
uint8_t ref()
|
||||||
{
|
{
|
||||||
if (refCnt == UINT16_MAX) TVGERR("RENDERER", "Reference Count Overflow!");
|
return ++refCnt;
|
||||||
else ++refCnt;
|
|
||||||
return refCnt;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t unref()
|
uint8_t unref()
|
||||||
|
|
Loading…
Add table
Reference in a new issue