29.11.2014, 23:57
Ah okay. Try using just "new" instead of the "static const" definition. I cant explain why this could cause this problem, but it probably does as this is the only "unusual" thing left with that code. You probably dont get any benefits from using them anyways in this case.