Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conversion of owning pointer to non-owning in C++98
Should fix the build failure of test RepeatUntilCalcArrayType in `cpp_stl_98`, which looks like this (https://github.com/kaitai-io/ci_artifacts/blob/7b931f2439b708823fd25a1ee08c7e582b70e261/test_out/cpp_stl_98/build-1.log#L1898-L1901): ``` /tests/compiled/cpp_stl_98/repeat_until_calc_array_type.cpp: In member function 'repeat_until_calc_array_type_t::record_t* repeat_until_calc_array_type_t::first_rec()': /tests/compiled/cpp_stl_98/repeat_until_calc_array_type.cpp:98:44: error: request for member 'get' in '((repeat_until_calc_array_type_t*)this)->repeat_until_calc_array_type_t::recs_accessor()->std::vector<repeat_until_calc_array_type_t::record_t*>::front()', which is of pointer type 'repeat_until_calc_array_type_t::record_t*' (maybe you meant to use '->' ?) 98 | m_first_rec = recs_accessor()->front().get(); | ^~~ ```
- Loading branch information