transfer.cpp:2:33: error: 'std::vector<int> get_attachment' redeclared as different kind of entity
2 | std::vector<int> get_attachment(vector<int> source){
| ^~~~~~
In file included from transfer.cpp:1:
transfer.h:5:18: note: previous declaration 'std::vector<int> get_attachment(std::vector<int>)'
5 | std::vector<int> get_attachment(std::vector<int> source);
| ^~~~~~~~~~~~~~
transfer.cpp:2:33: error: 'vector' was not declared in this scope; did you mean 'std::vector'?
2 | std::vector<int> get_attachment(vector<int> source){
| ^~~~~~
| std::vector
In file included from /usr/include/c++/10/vector:67,
from transfer.h:3,
from transfer.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'std::vector' declared here
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
transfer.cpp:2:40: error: expected primary-expression before 'int'
2 | std::vector<int> get_attachment(vector<int> source){
| ^~~
transfer.cpp:31:27: error: 'std::vector<int> retrieve' redeclared as different kind of entity
31 | std::vector<int> retrieve(vector<int> data){
| ^~~~~~
In file included from transfer.cpp:1:
transfer.h:6:18: note: previous declaration 'std::vector<int> retrieve(std::vector<int>)'
6 | std::vector<int> retrieve(std::vector<int> data);
| ^~~~~~~~
transfer.cpp:31:27: error: 'vector' was not declared in this scope; did you mean 'std::vector'?
31 | std::vector<int> retrieve(vector<int> data){
| ^~~~~~
| std::vector
In file included from /usr/include/c++/10/vector:67,
from transfer.h:3,
from transfer.cpp:1:
/usr/include/c++/10/bits/stl_vector.h:389:11: note: 'std::vector' declared here
389 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
transfer.cpp:31:34: error: expected primary-expression before 'int'
31 | std::vector<int> retrieve(vector<int> data){
| ^~~