Fix boost::optional construction error
This commit is contained in:
parent
3ff1a4263d
commit
20cfa159ec
@ -249,7 +249,7 @@ IntersectionView IntersectionGenerator::TransformIntersectionShapeIntoView(
|
||||
return pair.second->is_only;
|
||||
});
|
||||
if (itr != restrictions.second)
|
||||
return {itr->second->AsNodeRestriction().to};
|
||||
return itr->second->AsNodeRestriction().to;
|
||||
else
|
||||
return boost::none;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user