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