diff options
author | Chris Robinson <[email protected]> | 2023-05-10 21:35:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-10 21:35:33 -0700 |
commit | e590afe3e4871561527deea5dc9894212e3eb7b9 (patch) | |
tree | cf90b2884c3f796df6333a209cce6dfa75f4a67d /al/buffer.cpp | |
parent | d2b000c7602bcc337a4f4e5590ef65c1cfcb4cb2 (diff) |
Mark some functions noexcept when possible
Diffstat (limited to 'al/buffer.cpp')
-rw-r--r-- | al/buffer.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/al/buffer.cpp b/al/buffer.cpp index 371e586c..08f3bc3c 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -1543,8 +1543,7 @@ BufferSubList::~BufferSubList() #ifdef ALSOFT_EAX -FORCE_ALIGN ALboolean AL_APIENTRY EAXSetBufferMode(ALsizei n, const ALuint* buffers, ALint value) -START_API_FUNC +FORCE_ALIGN ALboolean AL_APIENTRY EAXSetBufferMode(ALsizei n, const ALuint *buffers, ALint value) noexcept { #define EAX_PREFIX "[EAXSetBufferMode] " @@ -1650,10 +1649,8 @@ START_API_FUNC #undef EAX_PREFIX } -END_API_FUNC -FORCE_ALIGN ALenum AL_APIENTRY EAXGetBufferMode(ALuint buffer, ALint* pReserved) -START_API_FUNC +FORCE_ALIGN ALenum AL_APIENTRY EAXGetBufferMode(ALuint buffer, ALint *pReserved) noexcept { #define EAX_PREFIX "[EAXGetBufferMode] " @@ -1690,6 +1687,5 @@ START_API_FUNC #undef EAX_PREFIX } -END_API_FUNC #endif // ALSOFT_EAX |