pgraph: Mark `RenderState::unref()` as final
This will allow the compiler to devirtualize these calls
This commit is contained in:
parent
f0446a6e9c
commit
4d2a13537a
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue