Im having this weird runtime error whenever I attempt to copy a specific member of an array block.
I get this from the output:
ASSERT failure in QHash: "Iterating beyond end()", file tools/qhash.cpp, line 293
Invalid parameter passed to C runtime function.
Invalid parameter passed to C runtime function.
I redid the code so i could specify what seems to be causing the problem.
//"Heading" is a QString
someClass *pointerFromArrayBlock = &theArray[10];
cout<< pointerFromArrayBlock->Heading() <<endl;//runs fine
QString test = pointerFromArrayBlock->Heading();//causes crash
someClass *pointer_NOT_FromArray = new someClass(/*some parameters*/);
cout<< value_NOT_FromArray->Heading() <<endl;//runs fine
QString test2 = value_NOT_FromArray->Heading(); //runs fine