Refactor file loading to use a common class that has proper error handling.

This commit is contained in:
Daniel Patterson
2016-11-11 05:52:21 -08:00
parent e226b52f21
commit 4ad6d88888
6 changed files with 288 additions and 336 deletions
+5
View File
@@ -31,6 +31,11 @@ bool LaneTuple::operator==(const LaneTuple other) const
bool LaneTuple::operator!=(const LaneTuple other) const { return !(*this == other); }
bool LaneTupleIdPair::operator==(const LaneTupleIdPair &other) const
{
return other.first == first && other.second == second;
}
} // namespace guidance
} // namespace util
} // namespace osrm