From 5bd2c77c58d0f0a208c28cdb238041707dfaed2d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 13 May 2018 19:02:33 +0200 Subject: [PATCH] Fix compilation with GCC 8 (#6053) --- src/internet/spotify/spotifyblobdownloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internet/spotify/spotifyblobdownloader.cpp b/src/internet/spotify/spotifyblobdownloader.cpp index b6e3f2b64..3c6339209 100644 --- a/src/internet/spotify/spotifyblobdownloader.cpp +++ b/src/internet/spotify/spotifyblobdownloader.cpp @@ -221,7 +221,7 @@ bool SpotifyBlobDownloader::CheckSignature( return false; } } - } catch (std::exception e) { + } catch (std::exception& e) { // This should only happen if we fail to parse our own key. qLog(Debug) << "Verifying spotify blob signature failed:" << e.what(); return false;