diff options
author | Chris Robinson <[email protected]> | 2023-12-26 22:37:12 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-12-26 22:37:12 -0800 |
commit | 205a73876234c0b1363189306530ada73ece56f2 (patch) | |
tree | 185ccb4d06ba136e4fee84324c6f1102c184734d /alc/device.h | |
parent | 1fddc044ac765d00e64628e59edcbcd71f0046b1 (diff) |
Try to start being a bit more pointer-owner conscious
Diffstat (limited to 'alc/device.h')
-rw-r--r-- | alc/device.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/device.h b/alc/device.h index 4eb693ff..e5e9b3d2 100644 --- a/alc/device.h +++ b/alc/device.h @@ -35,7 +35,7 @@ using uint = unsigned int; struct BufferSubList { uint64_t FreeMask{~0_u64}; - ALbuffer *Buffers{nullptr}; /* 64 */ + gsl::owner<ALbuffer*> Buffers{nullptr}; /* 64 */ BufferSubList() noexcept = default; BufferSubList(const BufferSubList&) = delete; @@ -50,7 +50,7 @@ struct BufferSubList { struct EffectSubList { uint64_t FreeMask{~0_u64}; - ALeffect *Effects{nullptr}; /* 64 */ + gsl::owner<ALeffect*> Effects{nullptr}; /* 64 */ EffectSubList() noexcept = default; EffectSubList(const EffectSubList&) = delete; @@ -65,7 +65,7 @@ struct EffectSubList { struct FilterSubList { uint64_t FreeMask{~0_u64}; - ALfilter *Filters{nullptr}; /* 64 */ + gsl::owner<ALfilter*> Filters{nullptr}; /* 64 */ FilterSubList() noexcept = default; FilterSubList(const FilterSubList&) = delete; |