feat: Drop public dependency to Boost.Asio and use standalone asio

This commit is contained in:
Dennis Klein
2021-05-28 15:34:24 +02:00
parent ac3293fcc6
commit 943b16beff
7 changed files with 54 additions and 69 deletions

View File

@@ -1,5 +1,5 @@
/********************************************************************************
* Copyright (C) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* Copyright (C) 2017-2021 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
* *
* This software is distributed under the terms of the *
* GNU Lesser General Public Licence (LGPL) version 3, *
@@ -13,18 +13,6 @@
#include <string>
#include <stdexcept>
// forward declarations
namespace boost
{
namespace asio
{
class io_context;
using io_service = class io_context;
} // namespace asio
} // namespace boost
namespace fair::mq::tools
{
@@ -41,8 +29,6 @@ std::string getDefaultRouteNetworkInterface();
std::string getIpFromHostname(const std::string& hostname);
std::string getIpFromHostname(const std::string& hostname, boost::asio::io_service& ios);
} // namespace fair::mq::tools
#endif /* FAIR_MQ_TOOLS_NETWORK_H */