]> granicus.if.org Git - imagemagick/commitdiff
Attempt to fix build errors.
authorDirk Lemstra <dirk@lemstra.org>
Sat, 3 Aug 2019 12:53:13 +0000 (14:53 +0200)
committerDirk Lemstra <dirk@lemstra.org>
Sat, 3 Aug 2019 12:54:41 +0000 (14:54 +0200)
Magick++/fuzz/encoder_list.cc

index ca54e814d70fde37539b80b645df5aa15908b2c7..b3b42498d0682433245fcfdc34bfef12eb473fd2 100644 (file)
@@ -53,13 +53,13 @@ int main() {
 
   for (std::list<Magick::CoderInfo>::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;
   }
 }