diff options
Diffstat (limited to 'Alc/backends/base.cpp')
-rw-r--r-- | Alc/backends/base.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/Alc/backends/base.cpp b/Alc/backends/base.cpp index 85f4b034..021a0f17 100644 --- a/Alc/backends/base.cpp +++ b/Alc/backends/base.cpp @@ -26,14 +26,11 @@ ClockLatency GetClockLatency(ALCdevice *device) /* Base ALCbackend method implementations. */ -void ALCbackend_Construct(ALCbackend *self, ALCdevice *device) -{ - self->mDevice = device; -} +ALCbackend::ALCbackend(ALCdevice *device) noexcept : mDevice{device} +{ } -void ALCbackend_Destruct(ALCbackend* UNUSED(self)) -{ -} +ALCbackend::~ALCbackend() +{ } ALCboolean ALCbackend_reset(ALCbackend* UNUSED(self)) { |