std::pair's to structures

I've replaced std::pair&lt;NodeID, NodeID&gt; and std::pair&lt;NodeID, bool&gt; with structs RestrictionSource and RestrictionTarget. I think now it's more readable and easier to understand.
Also replaced wrong type in CheckForEmanatingIsOnlyTurn method (in 'for' was RestrictionSource instead of RestrictionTarget).
Ok. But in such case we need to write:
const auto restriction_iterator = m_restriction_map.find(RestrictionSource{node_x, node_u});
instead of
const auto restriction_iterator = m_restriction_map.find({node_x, node_u});
Is it ok?