From beb9de04047af3846bb616bfe4706c642de42602 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 16 Dec 2017 15:45:38 -0500 Subject: Fixed deadlock after failed image download --- difference.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/difference.cpp b/difference.cpp index 896ded3..9fd3320 100644 --- a/difference.cpp +++ b/difference.cpp @@ -281,7 +281,7 @@ Magick::Image difference::getImageAtUrl(std::string url) const try { imghandle.perform(); - } catch (curl::curl_easy_exception error) { + } catch (const curl::curl_easy_exception& error) { error.print_traceback(); throw could_not_get_images(); -- cgit 1.4.1