remove redundant moves

This commit is contained in:
Konstantinos Margaritis
2024-01-17 17:15:32 +02:00
parent 9fac2bf78d
commit 5e1972efce
5 changed files with 5 additions and 5 deletions

View File

@@ -174,7 +174,7 @@ unique_ptr<EngineStream> EngineHyperscan::streamOpen(EngineContext &ectx,
return nullptr;
}
stream->sn = streamId;
return std::move(stream);
return stream;
}
void EngineHyperscan::streamClose(unique_ptr<EngineStream> stream,