first check is wrong =) here is needed &&, not ||. in this variant program will return true, if mMap... pointer not zero, and if zero, program will try to access class member, and crash =)
You're completely right! Fortunately I only made the error in the video. It was pointed out by a friend of mine the next day, but it's not worth the effort to fix the video. :-)
first check is wrong =) here is needed &&, not ||. in this variant program will return true, if mMap... pointer not zero, and if zero, program will try to access class member, and crash =)
kolobog007 3 years ago 13
You're completely right! Fortunately I only made the error in the video. It was pointed out by a friend of mine the next day, but it's not worth the effort to fix the video. :-)
Thorbjorn81 2 years ago 4