From 8e091853cc5f959da79733cc52c2352090301288 Mon Sep 17 00:00:00 2001 From: "Patrick F. Marques" Date: Thu, 3 May 2012 10:40:57 +0100 Subject: [PATCH] Correction of compiler error due to ambiguous "call conversionS" --- src/roles/server.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roles/server.hpp b/src/roles/server.hpp index 8d0d447759..44665fb455 100644 --- a/src/roles/server.hpp +++ b/src/roles/server.hpp @@ -296,7 +296,8 @@ void server::listen(const std::string &host, const std::string &servic if (endpoint_iterator == end) { throw std::invalid_argument("Can't resolve host/service to listen"); } - listen(*endpoint_iterator,n); + const boost::asio::ip::tcp::endpoint &ep = *endpoint_iterator; + listen(ep,n); } template