aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/base.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-12-29 02:16:16 -0800
committerChris Robinson <[email protected]>2018-12-29 02:16:16 -0800
commit71a4d6db6f88cbb735cd959b3dd16d83a27474cf (patch)
tree4aff47e22dc5c8486c7229e23848edb34cc11ada /Alc/backends/base.cpp
parent3c637d5fd70e7bdb5dfc79c515359cba3eb0c9af (diff)
Return a unique_ptr for the backend
Diffstat (limited to 'Alc/backends/base.cpp')
-rw-r--r--Alc/backends/base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/base.cpp b/Alc/backends/base.cpp
index 1fef0439..0afc4ee1 100644
--- a/Alc/backends/base.cpp
+++ b/Alc/backends/base.cpp
@@ -19,7 +19,7 @@ void ALCdevice_Unlock(ALCdevice *device)
ClockLatency GetClockLatency(ALCdevice *device)
{
- BackendBase *backend{device->Backend};
+ BackendBase *backend{device->Backend.get()};
ClockLatency ret{backend->getClockLatency()};
ret.Latency += device->FixedLatency;
return ret;