I have a list of blocks that I have created, and I need to iterate through them and draw each one. here's what I have, but I keep getting an error : conversion from 'std::cxx11::list<Block>iterator {aka std::_List_iterator<Block>}' to non-scalar type 'Block' requested Block block = blockIt
I see where the problem is, but I'm not sure how to fix it. The last time I had to iterate through a list, it was a list of pointers and this time it isn't, so I'm not sure what to do differently.