diff options
author | Chris Robinson <[email protected]> | 2020-03-23 16:00:50 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-23 16:00:50 -0700 |
commit | 6a3b3b180b7138e1ea1c9a2e345747e69d664411 (patch) | |
tree | 63facb74da575ac03a828d8f56f03cb5513d34f2 /al/source.h | |
parent | b53294e291c0e00b94639527ae84d03037029f1a (diff) |
Add a macro to disable class-specific new/delete
Diffstat (limited to 'al/source.h')
-rw-r--r-- | al/source.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/al/source.h b/al/source.h index a800f299..a36a2a09 100644 --- a/al/source.h +++ b/al/source.h @@ -124,6 +124,8 @@ struct ALsource { ALsource(const ALsource&) = delete; ALsource& operator=(const ALsource&) = delete; + + DISABLE_ALLOC() }; void UpdateAllSourceProps(ALCcontext *context); |