I have My Map std::map<const char*, int> uniforms; and when i try to find the data using uniforms.find(name)->second I get the error stated. I have checked the data stored in debug mode and it is all there correctly as I expected and i can access most of it using the find function but when I try and access directionalLight.base.color I get the error. Like I said they are spelled correctly and there in debug mode but I get the error. Is it the dots in the string?
jeudi 19 mars 2015
C++ : Debug Assertion Failed map/set iterator not dereferencable
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire