aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-04 23:04:55 -0700
committerChris Robinson <[email protected]>2019-09-04 23:04:55 -0700
commitef2769af03825f278b855858681e4cbe55c0734b (patch)
tree527d0ffb2be392ce90824cacfb3466ca1d409793 /alc/alu.h
parentc47a6d2279b80031db9b012713c27885b2d14047 (diff)
Use a normal vector for the voices array
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/alc/alu.h b/alc/alu.h
index 51c5f702..3b6045f0 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -269,6 +269,7 @@ struct ALvoice {
ALvoice() = default;
ALvoice(const ALvoice&) = delete;
+ ALvoice(ALvoice&& rhs) noexcept { *this = std::move(rhs); }
~ALvoice() { delete mUpdate.exchange(nullptr, std::memory_order_acq_rel); }
ALvoice& operator=(const ALvoice&) = delete;
ALvoice& operator=(ALvoice&& rhs) noexcept