1
0
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:
Carles Fernandez 2024-12-29 23:59:27 +01:00
parent 6757adf8d5
commit deb127e177
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -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);