void foo(vector<Data> &matrix)
{
double parameter{6};
vector<Data> a;
something(a, parameter); //Function created earlier. Crashes with this line in code.
}
The line "something(a, parameter)" causes the app to crash. That function is created earlier in the program.
Any help on why that is the case and how to fix would be appreciated.