1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-10-31 07:13:03 +00:00

Fix performance inefficiencies detected by Coverity Scan

This commit is contained in:
Carles Fernandez
2023-12-01 10:19:39 +01:00
parent 0b4d525feb
commit 4b60f8a7f2
9 changed files with 29 additions and 24 deletions

View File

@@ -171,7 +171,7 @@ void FileSourceBase::connect(gr::top_block_sptr top_block)
// VALVE
if (valve())
{
top_block->connect(input, 0, valve(), 0);
top_block->connect(std::move(input), 0, valve(), 0);
DLOG(INFO) << "connected source to valve";
output = valve();