removed the last dependency on iostream and lexical cast

This commit is contained in:
Arvid Norberg
2009-08-25 18:13:46 +00:00
parent 8c4cf8bffa
commit 6078dd06b0
18 changed files with 39 additions and 28 deletions

View File

@@ -43,7 +43,6 @@ POSSIBILITY OF SUCH DAMAGE.
#pragma warning(push, 1)
#endif
#include <boost/lexical_cast.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/limits.hpp>
@@ -987,7 +986,7 @@ namespace aux {
tcp::endpoint ep = listener->local_endpoint(ec);
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
std::string msg = "error accepting connection on '"
+ boost::lexical_cast<std::string>(ep) + "' " + e.message();
+ print_endpoint(ep) + "' " + e.message();
(*m_logger) << msg << "\n";
#endif
#ifdef TORRENT_WINDOWS