Fix boost::optional construction error

This commit is contained in:
Michael Krasnyk 2017-08-11 16:00:20 +02:00
parent 3ff1a4263d
commit 20cfa159ec

View File

@ -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;
};