QVector Assert statement seems to fail?
-
Check out this debug screen when a QVector assertion failed:
"https://www.dropbox.com/s/c2njba94hoimchv/qtvector.png":https://www.dropbox.com/s/c2njba94hoimchv/qtvector.png
(having problems getting my image to post)
The assertion requires "i" to be between 0 and the size of the vector, which makes sense.
This assertion failed when "i" was in fact meeting that criteria. Can anyone see a problem here?
-
I'm more interested in the meaning of this debug screen. Am I reading it right? It seems to clearly suggest the assertion failed (hence the crash I got) even though the variables recorded in the debugger (the "i" variable) are not conflicting with the what the assert statement requires, since "i" was clearly between 0 and the size, also recorded there in the debug screenshot.