From 533759501c361c13f256f207ddbe00bca693518b Mon Sep 17 00:00:00 2001 From: Sebastien Vincent Date: Sun, 15 Apr 2018 12:51:01 +0200 Subject: [PATCH] Fixes other compilation errors with recent Boost version. Boost socket native() method was deprecated for a long time and is replaced by native_handle() ones. Other part of the code is correctly using the native_handle() so it just a miss for this one." --- libs/freelan/src/core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/freelan/src/core.cpp b/libs/freelan/src/core.cpp index 76463cdf..6148bf3e 100644 --- a/libs/freelan/src/core.cpp +++ b/libs/freelan/src/core.cpp @@ -683,7 +683,7 @@ namespace freelan #ifdef LINUX if (!m_configuration.fscp.listen_on_device.empty()) { - const auto socket_fd = m_fscp_server->get_socket().native(); + const auto socket_fd = m_fscp_server->get_socket().native_handle(); const std::string device_name = m_configuration.fscp.listen_on_device; if (::setsockopt(socket_fd, SOL_SOCKET, SO_BINDTODEVICE, device_name.c_str(), device_name.size()) == 0)