aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/loopback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/loopback.cpp')
-rw-r--r--Alc/backends/loopback.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/loopback.cpp b/Alc/backends/loopback.cpp
index 6bce90ff..6404d413 100644
--- a/Alc/backends/loopback.cpp
+++ b/Alc/backends/loopback.cpp
@@ -70,10 +70,10 @@ bool LoopbackBackendFactory::querySupport(BackendType type)
void LoopbackBackendFactory::probe(DevProbe, std::string*)
{ }
-BackendBase *LoopbackBackendFactory::createBackend(ALCdevice *device, BackendType type)
+BackendPtr LoopbackBackendFactory::createBackend(ALCdevice *device, BackendType type)
{
if(type == BackendType::Loopback)
- new LoopbackBackend{device};
+ return BackendPtr{new LoopbackBackend{device}};
return nullptr;
}