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