From a5794e5524abff60c54a4a07fe26efadfea6cab5 Mon Sep 17 00:00:00 2001 From: Ali Abdel-Qader Date: Sat, 14 Jan 2023 19:05:52 +0000 Subject: [PATCH] Fix "unqualified call to std::move" warning This removes the warning when using [-Wunqualified-std-cast-call]. --- server/streamreader/tcp_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/streamreader/tcp_stream.cpp b/server/streamreader/tcp_stream.cpp index b76325a6..f10e097f 100644 --- a/server/streamreader/tcp_stream.cpp +++ b/server/streamreader/tcp_stream.cpp @@ -81,7 +81,7 @@ void TcpStream::do_connect() if (!ec) { LOG(DEBUG, LOG_TAG) << "New client connection\n"; - stream_ = make_unique(move(socket)); + stream_ = make_unique(std::move(socket)); on_connect(); } else