In file included from /usr/include/c++/11/bits/stl_algobase.h:71,
from /usr/include/c++/11/vector:60,
from overtaking.h:1,
from overtaking.cpp:1:
/usr/include/c++/11/bits/predefined_ops.h: In instantiation of 'constexpr bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = __gnu_cxx::__normal_iterator<std::vector<long long int>*, std::vector<std::vector<long long int> > >; _Value = const std::vector<long long int>; _Compare = bool (*)(std::vector<long long int>&, std::vector<long long int>&)]':
/usr/include/c++/11/bits/stl_algobase.h:1464:14: required from 'constexpr _ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator<std::vector<long long int>*, std::vector<std::vector<long long int> > >; _Tp = std::vector<long long int>; _Compare = __gnu_cxx::__ops::_Iter_comp_val<bool (*)(std::vector<long long int>&, std::vector<long long int>&)>]'
/usr/include/c++/11/bits/stl_algo.h:2021:32: required from 'constexpr _FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<std::vector<long long int>*, std::vector<std::vector<long long int> > >; _Tp = std::vector<long long int>; _Compare = bool (*)(std::vector<long long int>&, std::vector<long long int>&)]'
overtaking.cpp:65:27: required from here
/usr/include/c++/11/bits/predefined_ops.h:196:30: error: binding reference of type 'std::vector<long long int>&' to 'const std::vector<long long int>' discards qualifiers
196 | { return bool(_M_comp(*__it, __val)); }
| ~~~~~~~^~~~~~~~~~~~~~