Switch to side-by-side view
--- a/libupnpp/control/description.hxx +++ b/libupnpp/control/description.hxx @@ -105,8 +105,8 @@ "] friendlyName [" << friendlyName << "] UDN [" << UDN << "] URLBase [" << URLBase << "] Services:" << std::endl; - for (auto& serv: services) { - os << " " << serv.dump(); + for (auto it = services.begin(); it != services.end(); it++) { + os << " " << it->dump(); } os << "}" << std::endl; return os.str();