Application crash in function

1
2
3
4
5
6
7
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.
Last edited on
Impossible to tell without seeing the code of something().
Would be nice to know what Data looks like also.
Topic archived. No new replies allowed.