From de955af966f72cf39568589220680f3ad6b4b092 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 27 Oct 2023 06:35:20 +1100 Subject: Revert "chd.cpp, chdcodec.cpp: Minor refactoring" This reverts commit 901a68e2e0bb0d9178ffdb59e128718c1495250f. --- src/lib/util/chdcodec.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/util/chdcodec.cpp') 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); -- cgit v1.2.3-70-g09d2