aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/src/net_utils_base.cpp
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2018-12-17 19:05:27 -0500
committerLee Clagett <code@leeclagett.com>2018-12-23 11:11:30 +0000
commita5ffc2d5ade4db49f31f169e8908065be8cdc0f2 (patch)
tree0260e16a461dfdc4da1fc48fc9f5fa632fd7ea4d /contrib/epee/src/net_utils_base.cpp
parentMerge pull request #4927 (diff)
downloadmonero-a5ffc2d5ade4db49f31f169e8908065be8cdc0f2.tar.xz
Remove boost::lexical_cast for uuid and unused uuid function
Diffstat (limited to 'contrib/epee/src/net_utils_base.cpp')
-rw-r--r--contrib/epee/src/net_utils_base.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/epee/src/net_utils_base.cpp b/contrib/epee/src/net_utils_base.cpp
index 354c3d2c3..263b344b4 100644
--- a/contrib/epee/src/net_utils_base.cpp
+++ b/contrib/epee/src/net_utils_base.cpp
@@ -1,7 +1,9 @@
#include "net/net_utils_base.h"
-#include "string_tools.h"
+#include <boost/uuid/uuid_io.hpp>
+
+#include "string_tools.h"
#include "net/local_ip.h"
namespace epee { namespace net_utils
@@ -73,7 +75,7 @@ namespace epee { namespace net_utils
std::string print_connection_context(const connection_context_base& ctx)
{
std::stringstream ss;
- ss << ctx.m_remote_address.str() << " " << epee::string_tools::get_str_from_guid_a(ctx.m_connection_id) << (ctx.m_is_income ? " INC":" OUT");
+ ss << ctx.m_remote_address.str() << " " << ctx.m_connection_id << (ctx.m_is_income ? " INC":" OUT");
return ss.str();
}