From 5848dab92d3172ea2f50e0d82f9628fb20c62bd9 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 11 Nov 2018 20:40:37 -0800 Subject: Make AmbDecConf::load noexcept To ease the ovewrhead of destructors that call C (non-noexcept) functions. --- Alc/ambdec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc/ambdec.cpp') 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()) -- cgit v1.2.3