diff options
author | Chris Robinson <[email protected]> | 2023-12-17 22:36:44 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-17 22:36:44 -0800 |
commit | 708a90ef8ef7ee00991556298073c50dfa6e72a1 (patch) | |
tree | 5d72e46977dc241febfcf6ad4ab2ffbe2fadf2c3 /alc/backends | |
parent | bc83c874ff15b29fdab9b6c0bf40b268345b3026 (diff) |
Fix some implicit conversions
Diffstat (limited to 'alc/backends')
-rw-r--r-- | alc/backends/base.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/alc/backends/base.h b/alc/backends/base.h index ecca6b2e..6726cd9a 100644 --- a/alc/backends/base.h +++ b/alc/backends/base.h @@ -64,6 +64,8 @@ inline ClockLatency GetClockLatency(DeviceBase *device, BackendBase *backend) struct BackendFactory { + virtual ~BackendFactory() = default; + virtual bool init() = 0; virtual bool querySupport(BackendType type) = 0; @@ -74,9 +76,6 @@ struct BackendFactory { virtual std::string probe(BackendType type) = 0; virtual BackendPtr createBackend(DeviceBase *device, BackendType type) = 0; - -protected: - virtual ~BackendFactory() = default; }; namespace al { |