mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-08 03:03:02 +00:00
Remove using directive
This commit is contained in:
@@ -25,7 +25,6 @@
|
|||||||
|
|
||||||
|
|
||||||
namespace ip = boost::asio::ip;
|
namespace ip = boost::asio::ip;
|
||||||
using boost::asio::ip::tcp;
|
|
||||||
|
|
||||||
// Buffer constants
|
// Buffer constants
|
||||||
// TODO: Make these configurable
|
// TODO: Make these configurable
|
||||||
@@ -110,7 +109,7 @@ rtl_tcp_signal_source_c::rtl_tcp_signal_source_c(const std::string &address,
|
|||||||
LOG(INFO) << "Connected to " << addr << ":" << port;
|
LOG(INFO) << "Connected to " << addr << ":" << port;
|
||||||
|
|
||||||
// 4. Set nodelay
|
// 4. Set nodelay
|
||||||
socket_.set_option(tcp::no_delay(true), ec);
|
socket_.set_option(ip::tcp::no_delay(true), ec);
|
||||||
if (ec)
|
if (ec)
|
||||||
{
|
{
|
||||||
std::cout << "Failed to set no delay option.\n";
|
std::cout << "Failed to set no delay option.\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user