1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-12 13:00:08 +00:00

fix -Wreorder warning

The members should appear in the initializer list in the same order as
they appear in the class
This commit is contained in:
Carles Fernandez 2015-12-15 15:31:13 +01:00
parent 3a73261e4b
commit 651877af45

View File

@ -455,6 +455,7 @@ private:
}
private:
void do_accept()
{
acceptor_.async_accept(socket_, [this](boost::system::error_code ec)
@ -475,8 +476,8 @@ private:
}
boost::asio::ip::tcp::acceptor acceptor_;
boost::asio::ip::tcp::socket socket_;
std::shared_ptr< concurrent_queue<std::string> > & queue_;
boost::asio::ip::tcp::socket socket_;
};