mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
UPNPSocket.cpp: fix catching polymorphic type warning
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user