In file included from /usr/include/c++/13/vector:66,
from worldmap.h:1,
from worldmap.cpp:1:
In member function 'constexpr void std::vector<_Tp, _Alloc>::clear() [with _Tp = int; _Alloc = std::allocator<int>]',
inlined from 'std::vector<std::vector<int> > create_map(int, int, std::vector<int>, std::vector<int>)' at worldmap.cpp:23:19:
/usr/include/c++/13/bits/stl_vector.h:1606:24: warning: iteration 50 invokes undefined behavior [-Waggressive-loop-optimizations]
1606 | { _M_erase_at_end(this->_M_impl._M_start); }
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
worldmap.cpp: In function 'std::vector<std::vector<int> > create_map(int, int, std::vector<int>, std::vector<int>)':
worldmap.cpp:22:19: note: within this loop
22 | for(int i=0; i<=50; i++){
| ~^~~~