WaySublineMatch::WaySublineMatch(const WaySublineMatch& other, const ConstOsmMapPtr& newMap) { _ws1 = WaySubline(other.getSubline1(), newMap); _ws2 = WaySubline(other.getSubline2(), newMap); _reversed = other.isReverseMatch(); }