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