mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 23:13:00 +02:00
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:
@@ -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