mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48:21 +00:00
Adjust various reaching-def move/reference semantics
Nothing that important, just changing things to what is hypothetically more efficient in general.
This commit is contained in:
parent
1f7580db65
commit
36f27a0d01
6 changed files with 27 additions and 29 deletions
|
@ -13,9 +13,9 @@ ReachingDefs::ReachingDefs()
|
|||
const_rd_map = nullptr;
|
||||
}
|
||||
|
||||
ReachingDefs::ReachingDefs(RDPtr& rd)
|
||||
ReachingDefs::ReachingDefs(RDPtr rd)
|
||||
{
|
||||
const_rd_map = rd;
|
||||
const_rd_map = std::move(rd);
|
||||
my_rd_map = nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue