mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
fix for recent smart pointer change
This commit is contained in:
parent
b6bff8aa37
commit
cc059f6b51
1 changed files with 1 additions and 1 deletions
|
@ -951,7 +951,7 @@ void WhenInfo::UpdateIDs(Reducer* c)
|
||||||
|
|
||||||
StmtPtr WhenStmt::Duplicate()
|
StmtPtr WhenStmt::Duplicate()
|
||||||
{
|
{
|
||||||
return SetSucc(new WhenStmt(wi));
|
return SetSucc(new WhenStmt(std::make_shared<WhenInfo>(wi.get())));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool WhenStmt::IsReduced(Reducer* c) const
|
bool WhenStmt::IsReduced(Reducer* c) const
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue