diff options
Diffstat (limited to 'src/db/upnp/upnpplib.cxx')
-rw-r--r-- | src/db/upnp/upnpplib.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/db/upnp/upnpplib.cxx b/src/db/upnp/upnpplib.cxx index 27dd9557a..2aa328e8d 100644 --- a/src/db/upnp/upnpplib.cxx +++ b/src/db/upnp/upnpplib.cxx @@ -24,7 +24,6 @@ #include "Log.hxx" #include <string> -#include <sstream> #include <map> #include <vector> #include <set> @@ -111,14 +110,6 @@ LibUPnP::registerHandler(Upnp_EventType et, Upnp_FunPtr handler, void *cookie) m_handlers.emplace(et, Handler(handler, cookie)); } -std::string -LibUPnP::errAsString(const std::string& who, int code) -{ - std::ostringstream os; - os << who << " :" << code << ": " << UpnpGetErrorMessage(code); - return os.str(); -} - int LibUPnP::o_callback(Upnp_EventType et, void* evp, void* cookie) { |