mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
remove redundant moves
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user