aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/hrtf.cpp
diff options
context:
space:
mode:
authorChris Robinson <chris.kcat@gmail.com>2018-11-19 02:17:06 -0800
committerChris Robinson <chris.kcat@gmail.com>2018-11-19 02:17:06 -0800
commitc5142530d675885415c9168869eb6c125ce10876 (patch)
tree002ceb670126558bd0f1204c7b4db7302fb4d9f7 /Alc/hrtf.cpp
parent6e114a7a70c90d575e5978c5bcac95307bec0140 (diff)
Simplify the RefCount type
Diffstat (limited to 'Alc/hrtf.cpp')
-rw-r--r--Alc/hrtf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/hrtf.cpp b/Alc/hrtf.cpp
index 0393da65..034d5a49 100644
--- a/Alc/hrtf.cpp
+++ b/Alc/hrtf.cpp
@@ -1257,13 +1257,13 @@ struct Hrtf *GetLoadedHrtf(struct HrtfEntry *entry)
void Hrtf_IncRef(struct Hrtf *hrtf)
{
- uint ref = IncrementRef(&hrtf->ref);
+ auto ref = IncrementRef(&hrtf->ref);
TRACEREF("%p increasing refcount to %u\n", hrtf, ref);
}
void Hrtf_DecRef(struct Hrtf *hrtf)
{
- uint ref = DecrementRef(&hrtf->ref);
+ auto ref = DecrementRef(&hrtf->ref);
TRACEREF("%p decreasing refcount to %u\n", hrtf, ref);
if(ref == 0)
{