mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-21 14:37:04 +00:00
Pass big parameter by reference
This commit is contained in:
parent
6757adf8d5
commit
deb127e177
@ -831,7 +831,7 @@ private:
|
||||
[this, &msg]() {
|
||||
#else
|
||||
boost::asio::post(io_context_,
|
||||
[this, msg]() {
|
||||
[this, &msg]() {
|
||||
#endif
|
||||
bool write_in_progress = !write_msgs_.empty();
|
||||
write_msgs_.push_back(msg);
|
||||
|
Loading…
Reference in New Issue
Block a user