diff options
-rw-r--r-- | Alc/ambdec.cpp | 2 | ||||
-rw-r--r-- | Alc/ambdec.h | 2 |
2 files changed, 2 insertions, 2 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()) diff --git a/Alc/ambdec.h b/Alc/ambdec.h index d6d154fb..33e74d36 100644 --- a/Alc/ambdec.h +++ b/Alc/ambdec.h @@ -39,7 +39,7 @@ struct AmbDecConf { ALfloat HFOrderGain[MAX_AMBI_ORDER+1]; ALfloat HFMatrix[MAX_OUTPUT_CHANNELS][MAX_AMBI_COEFFS]; - int load(const char *fname); + int load(const char *fname) noexcept; }; #endif /* AMBDEC_H */ |