UPNPSocket.cpp: fix catching polymorphic type warning

Origin commit data
------------------
Branch: ni/coolstream
Commit: d8fc6f034d
Author: GetAway <get-away@t-online.de>
Date: 2019-06-16 (Sun, 16 Jun 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
GetAway
2019-06-16 01:14:20 +02:00
committed by vanhofen
parent 6e01bde457
commit b1b7213cbe

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";
}