vision.cpp: In function 'void construct_network(int, int, int)':
vision.cpp:31:4: error: reference to 'tm' is ambiguous
31 | tm.pb(cur);++cur;
| ^~
In file included from /usr/include/pthread.h:24,
from /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/9/bits/gthr.h:148,
from /usr/include/c++/9/ext/atomicity.h:35,
from /usr/include/c++/9/bits/basic_string.h:39,
from /usr/include/c++/9/string:55,
from vision.h:6,
from vision.cpp:1:
/usr/include/time.h:133:8: note: candidates are: 'struct tm'
133 | struct tm
| ^~
vision.cpp:18:4: note: 'vi tm'
18 | vi tm;
| ^~
vision.cpp:35:9: error: reference to 'tm' is ambiguous
35 | add_or(tm);
| ^~
In file included from /usr/include/pthread.h:24,
from /usr/include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:35,
from /usr/include/x86_64-linux-gnu/c++/9/bits/gthr.h:148,
from /usr/include/c++/9/ext/atomicity.h:35,
from /usr/include/c++/9/bits/basic_string.h:39,
from /usr/include/c++/9/string:55,
from vision.h:6,
from vision.cpp:1:
/usr/include/time.h:133:8: note: candidates are: 'struct tm'
133 | struct tm
| ^~
vision.cpp:18:4: note: 'vi tm'
18 | vi tm;
| ^~