My program passes a parameter that looks like this:
std::vector<myDataType> vec;
void function(&vec);
Then the function accepts the argument like this:
void function(std::vector<myDataType>* myVec){
...does something
}
Yet somehow I am getting the following error:
error C2664: 'CMyClass::WriteVectorSTL_CSV' : cannot convert parameter 1 from 'std::vector<_Ty> *__w64 ' to 'std::vector<_Ty> *'
This is on a 32-bit machine compiling with VS2005. Any ideas what is going wrong/how to fix it?