UPNPSocket.cpp: fix catching polymorphic type warning

Origin commit data
------------------
Commit: d8fc6f034d
Author: GetAway <get-away@t-online.de>
Date: 2019-06-16 (Sun, 16 Jun 2019)
This commit is contained in:
GetAway
2019-06-16 01:14:20 +02:00
committed by vanhofen
parent 96615517de
commit a49940fe76

View File

@@ -147,7 +147,7 @@ std::vector<CUPnPDevice> CUPnPSocket::Discover(std::string service)
{
devices.push_back(CUPnPDevice(line));
}
catch (std::runtime_error error)
catch (std::runtime_error& error)
{
std::cout << "error " << error.what() << "\n";
}