aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/null.cpp')
-rw-r--r--Alc/backends/null.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/null.cpp b/Alc/backends/null.cpp
index 480b5554..3aee7204 100644
--- a/Alc/backends/null.cpp
+++ b/Alc/backends/null.cpp
@@ -169,10 +169,10 @@ void NullBackendFactory::probe(DevProbe type, std::string *outnames)
}
}
-BackendBase *NullBackendFactory::createBackend(ALCdevice *device, BackendType type)
+BackendPtr NullBackendFactory::createBackend(ALCdevice *device, BackendType type)
{
if(type == BackendType::Playback)
- return new NullBackend{device};
+ return BackendPtr{new NullBackend{device}};
return nullptr;
}