summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/util/chdcodec.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2023-10-27 06:35:20 +1100
committer Vas Crabb <vas@vastheman.com>2023-10-27 06:35:20 +1100
commitde955af966f72cf39568589220680f3ad6b4b092 (patch)
treed59fc08adab1ff06ffa84c128776cd04d3e10ec9 /src/lib/util/chdcodec.cpp
parent4587e86e8692e0b51a4afae3b67e49329268cfb7 (diff)
Revert "chd.cpp, chdcodec.cpp: Minor refactoring"
This reverts commit 901a68e2e0bb0d9178ffdb59e128718c1495250f.
Diffstat (limited to 'src/lib/util/chdcodec.cpp')
-rw-r--r--src/lib/util/chdcodec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/util/chdcodec.cpp b/src/lib/util/chdcodec.cpp
index 41465fd0614..fa46975285e 100644
--- a/src/lib/util/chdcodec.cpp
+++ b/src/lib/util/chdcodec.cpp
@@ -512,7 +512,7 @@ const codec_entry f_codec_list[] =
// instance of the given type
//-------------------------------------------------
-const codec_entry *find_in_list(chd_codec_type type) noexcept
+const codec_entry *find_in_list(chd_codec_type type)
{
// find in the list and construct the class
for (auto & elem : f_codec_list)
@@ -627,7 +627,7 @@ chd_decompressor::ptr chd_codec_list::new_decompressor(chd_codec_type type, chd_
// corresponds to a supported codec
//-------------------------------------------------
-bool chd_codec_list::codec_exists(chd_codec_type type) noexcept
+bool chd_codec_list::codec_exists(chd_codec_type type)
{
// find in the list and construct the class
return bool(find_in_list(type));
@@ -639,7 +639,7 @@ bool chd_codec_list::codec_exists(chd_codec_type type) noexcept
// codec
//-------------------------------------------------
-const char *chd_codec_list::codec_name(chd_codec_type type) noexcept
+const char *chd_codec_list::codec_name(chd_codec_type type)
{
// find in the list and construct the class
const codec_entry *entry = find_in_list(type);