mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-02-22 14:00:13 +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:
parent
3a73261e4b
commit
651877af45
@ -455,6 +455,7 @@ private:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void do_accept()
|
void do_accept()
|
||||||
{
|
{
|
||||||
acceptor_.async_accept(socket_, [this](boost::system::error_code ec)
|
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::acceptor acceptor_;
|
||||||
boost::asio::ip::tcp::socket socket_;
|
|
||||||
std::shared_ptr< concurrent_queue<std::string> > & queue_;
|
std::shared_ptr< concurrent_queue<std::string> > & queue_;
|
||||||
|
boost::asio::ip::tcp::socket socket_;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user