mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-29 10:17:16 +02:00
Fix "unqualified call to std::move" warning
This removes the warning when using [-Wunqualified-std-cast-call].
This commit is contained in:
parent
e236b7c6bf
commit
a5794e5524
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ void TcpStream::do_connect()
|
|||
if (!ec)
|
||||
{
|
||||
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();
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue