aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/backends/base.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/alc/backends/base.h b/alc/backends/base.h
index cc33ba50..55240fd2 100644
--- a/alc/backends/base.h
+++ b/alc/backends/base.h
@@ -69,8 +69,6 @@ enum class DevProbe {
struct BackendFactory {
- virtual ~BackendFactory() = default;
-
virtual bool init() = 0;
virtual bool querySupport(BackendType type) = 0;
@@ -78,6 +76,9 @@ struct BackendFactory {
virtual void probe(DevProbe type, std::string *outnames) = 0;
virtual BackendPtr createBackend(ALCdevice *device, BackendType type) = 0;
+
+protected:
+ virtual ~BackendFactory() = default;
};
#endif /* ALC_BACKENDS_BASE_H */