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;