From bc22447a6af042dbd4f296101b0292a799726172 Mon Sep 17 00:00:00 2001 From: Konstantin Goncharik Date: Sat, 4 Jan 2014 01:19:30 +0800 Subject: [PATCH] In qtorrenthandle.cpp exception made caught by reference --- src/qtlibtorrent/qtorrenthandle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtlibtorrent/qtorrenthandle.cpp b/src/qtlibtorrent/qtorrenthandle.cpp index fdd214a44..f69995940 100644 --- a/src/qtlibtorrent/qtorrenthandle.cpp +++ b/src/qtlibtorrent/qtorrenthandle.cpp @@ -257,7 +257,7 @@ QStringList QTorrentHandle::url_seeds() const { qDebug("URL Seed: %s", it->c_str()); res << misc::toQString(*it); } - } catch(std::exception e) { + } catch(std::exception &e) { std::cout << "ERROR: Failed to convert the URL seed" << std::endl; } return res;