From 55ebfbba1f24e1b3e2e7efa7defa14897eab1c64 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 16 Dec 2017 15:36:13 -0500 Subject: Fixed deadlock after failed image download --- capital.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capital.cpp b/capital.cpp index 1e23ba4..3488c1d 100644 --- a/capital.cpp +++ b/capital.cpp @@ -190,7 +190,7 @@ Magick::Image capital::getImageForNoun(verbly::word pictured) const try { imghandle.perform(); - } catch (curl::curl_easy_exception error) { + } catch (const curl::curl_easy_exception& error) { error.print_traceback(); continue; -- cgit 1.4.1