From 662d77159bf9b24b9ef48717547a6d454551bc43 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 30 Mar 2020 16:00:02 -0700 Subject: Get rid of a redundant enum --- alc/backends/sdl2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/backends/sdl2.cpp') diff --git a/alc/backends/sdl2.cpp b/alc/backends/sdl2.cpp index e894e6a6..b47ff185 100644 --- a/alc/backends/sdl2.cpp +++ b/alc/backends/sdl2.cpp @@ -193,11 +193,11 @@ bool SDL2BackendFactory::init() bool SDL2BackendFactory::querySupport(BackendType type) { return type == BackendType::Playback; } -std::string SDL2BackendFactory::probe(DevProbe type) +std::string SDL2BackendFactory::probe(BackendType type) { std::string outnames; - if(type != DevProbe::Playback) + if(type != BackendType::Playback) return outnames; int num_devices{SDL_GetNumAudioDevices(SDL_FALSE)}; -- cgit v1.2.3