pgraph: Mark RenderState::unref() as final

This will allow the compiler to devirtualize these calls
This commit is contained in:
rdb 2022-10-22 16:53:18 +02:00
parent f0446a6e9c
commit 4d2a13537a

View File

@ -112,7 +112,7 @@ PUBLISHED:
INLINE CPT(RenderState) get_unique() const;
virtual bool unref() const;
virtual bool unref() const final;
INLINE void cache_ref() const;
INLINE bool cache_unref() const;