aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ambdec.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-11 20:40:37 -0800
committerChris Robinson <[email protected]>2018-11-11 20:40:37 -0800
commit5848dab92d3172ea2f50e0d82f9628fb20c62bd9 (patch)
tree35923bb0c224580d5d7b974d05550af04e9df983 /Alc/ambdec.cpp
parentf8bda31c72e073cfc36cc4b42574347657817c54 (diff)
Make AmbDecConf::load noexcept
To ease the ovewrhead of destructors that call C (non-noexcept) functions.
Diffstat (limited to 'Alc/ambdec.cpp')
-rw-r--r--Alc/ambdec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ambdec.cpp b/Alc/ambdec.cpp
index b3978551..c408a2af 100644
--- a/Alc/ambdec.cpp
+++ b/Alc/ambdec.cpp
@@ -202,7 +202,7 @@ bool load_ambdec_matrix(ALfloat *gains, ALfloat (*matrix)[MAX_AMBI_COEFFS], ALsi
} // namespace
-int AmbDecConf::load(const char *fname)
+int AmbDecConf::load(const char *fname) noexcept
{
al::ifstream f{fname};
if(!f.is_open())