diff options
author | Chris Robinson <[email protected]> | 2022-12-08 06:22:55 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-12-08 06:22:55 -0800 |
commit | b0be3bf883c147a87840b880a6b0a8db36333b6a (patch) | |
tree | a1c8bef78fe66a3d431609f3d3ffd3616790282e /core | |
parent | 4c2a96e2c856c07aead4ea5679d27310743b45ae (diff) |
Rename a potentially confusing member function
Diffstat (limited to 'core')
-rw-r--r-- | core/hrtf.cpp | 2 | ||||
-rw-r--r-- | core/hrtf.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/hrtf.cpp b/core/hrtf.cpp index 383d4340..2b3fdc13 100644 --- a/core/hrtf.cpp +++ b/core/hrtf.cpp @@ -1433,7 +1433,7 @@ void HrtfStore::add_ref() TRACE("HrtfStore %p increasing refcount to %u\n", decltype(std::declval<void*>()){this}, ref); } -void HrtfStore::release() +void HrtfStore::dec_ref() { auto ref = DecrementRef(mRef); TRACE("HrtfStore %p decreasing refcount to %u\n", decltype(std::declval<void*>()){this}, ref); diff --git a/core/hrtf.h b/core/hrtf.h index 193576e7..0c8d2a49 100644 --- a/core/hrtf.h +++ b/core/hrtf.h @@ -42,7 +42,7 @@ struct HrtfStore { const ubyte2 *delays; void add_ref(); - void release(); + void dec_ref(); DEF_PLACE_NEWDEL() }; |