aboutsummaryrefslogtreecommitdiffstats
path: root/al/eax_eax_call.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-02-14 01:02:08 -0800
committerChris Robinson <[email protected]>2022-02-14 01:02:08 -0800
commitc0fc67e278390d5d232080884affd1cae9cf4fa7 (patch)
tree14b284f24ca519f7fe45a73b39c39d71d68ca980 /al/eax_eax_call.h
parent278792eae71f7d403031ab1c3425b5a1076ca13f (diff)
Simplify EaxEaxCall::EaxEaxCall
Diffstat (limited to 'al/eax_eax_call.h')
-rw-r--r--al/eax_eax_call.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/al/eax_eax_call.h b/al/eax_eax_call.h
index 25b5e64a..dd89795a 100644
--- a/al/eax_eax_call.h
+++ b/al/eax_eax_call.h
@@ -26,7 +26,7 @@ class EaxEaxCall
public:
EaxEaxCall(
bool is_get,
- const GUID* property_set_id,
+ const GUID& property_set_guid,
ALuint property_id,
ALuint property_source_id,
ALvoid* property_buffer,
@@ -82,17 +82,16 @@ public:
private:
- bool is_get_;
- bool is_deferred_;
+ const bool is_get_;
+ const bool is_deferred_;
int version_;
EaxFxSlotIndex fx_slot_index_;
EaxEaxCallPropertySetId property_set_id_;
- GUID property_set_guid_;
ALuint property_id_;
- ALuint property_source_id_;
- ALvoid* property_buffer_;
- ALuint property_size_;
+ const ALuint property_source_id_;
+ ALvoid*const property_buffer_;
+ const ALuint property_size_;
[[noreturn]]