From 2dde12fb5e4dc928f87e7962d1f5a4ab0d0cf542 Mon Sep 17 00:00:00 2001 From: Dirk Lemstra Date: Sat, 3 Aug 2019 14:53:13 +0200 Subject: [PATCH] Attempt to fix build errors. --- Magick++/fuzz/encoder_list.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Magick++/fuzz/encoder_list.cc b/Magick++/fuzz/encoder_list.cc index ca54e814d..b3b42498d 100644 --- a/Magick++/fuzz/encoder_list.cc +++ b/Magick++/fuzz/encoder_list.cc @@ -53,13 +53,13 @@ int main() { for (std::list::iterator it = coderList.begin(); it != coderList.end(); it++) { - std::string magick_module=(*it).magick_module(); - if (std::find(excludeList.begin(), excludeList.end(), magick_module) != excludeList.end()) + std::string module=(*it).module(); + if (std::find(excludeList.begin(), excludeList.end(), module) != excludeList.end()) continue; - if ((*it).name() == magick_module) - std::cout << ((*it).isWritable() ? "+" : "-") << magick_module << ":" << getInitializer(magick_module) << std::endl; - else if (std::find(allowedNames.begin(), allowedNames.end(), magick_module) != allowedNames.end()) - std::cout << ((*it).isWritable() ? "+" : "-") << (*it).name() << ":" << getInitializer(magick_module) << std::endl; + if ((*it).name() == module) + std::cout << ((*it).isWritable() ? "+" : "-") << module << ":" << getInitializer(module) << std::endl; + else if (std::find(allowedNames.begin(), allowedNames.end(), module) != allowedNames.end()) + std::cout << ((*it).isWritable() ? "+" : "-") << (*it).name() << ":" << getInitializer(module) << std::endl; } } -- 2.40.0