mcst-linux-kernel/patches-2024.06.26/osrm-5.26.0/0001-bug136903.patch

30 lines
1.7 KiB
Diff

diff -Naur old/include/extractor/intersection_bearings_container.hpp new/include/extractor/intersection_bearings_container.hpp
--- old/include/extractor/intersection_bearings_container.hpp 2021-11-12 13:59:32.878574065 +0300
+++ new/include/extractor/intersection_bearings_container.hpp 2021-11-12 14:04:13.332112577 +0300
@@ -94,7 +94,7 @@
const std::string &name,
const IntersectionBearingsContainer &turn_data_container);
- private:
+ public:
Vector<DiscreteBearing> values;
Vector<BearingClassID> node_to_class_id;
RangeTable<16> class_id_to_ranges_table;
diff -Naur old/include/util/packed_vector.hpp new/include/util/packed_vector.hpp
--- old/include/util/packed_vector.hpp 2021-11-12 13:59:32.886574223 +0300
+++ new/include/util/packed_vector.hpp 2021-11-12 14:03:35.483365265 +0300
@@ -452,11 +452,11 @@
friend void serialization::read<T, Bits, Ownership>(storage::tar::FileReader &reader,
const std::string &name,
- PackedVector &vec);
+ detail::PackedVector<T, Bits, Ownership> &vec);
friend void serialization::write<T, Bits, Ownership>(storage::tar::FileWriter &writer,
const std::string &name,
- const PackedVector &vec);
+ const detail::PackedVector<T, Bits, Ownership> &vec);
inline void swap(PackedVector &other) noexcept
{