Fix "unqualified call to std::move" warning

This removes the warning when using [-Wunqualified-std-cast-call].
This commit is contained in:
Ali Abdel-Qader 2023-01-14 19:05:52 +00:00 committed by Johannes Pohl
parent e236b7c6bf
commit a5794e5524

View file

@ -81,7 +81,7 @@ void TcpStream::do_connect()
if (!ec) if (!ec)
{ {
LOG(DEBUG, LOG_TAG) << "New client connection\n"; LOG(DEBUG, LOG_TAG) << "New client connection\n";
stream_ = make_unique<tcp::socket>(move(socket)); stream_ = make_unique<tcp::socket>(std::move(socket));
on_connect(); on_connect();
} }
else else