Issues with unique_ptr

Status
Not open for further replies.

adam1016

New member
Hello all - I am trying to run the code at teensy/main.cpp at this URL https://github.com/tobycyanide/teensytracer, but I cannot get it running for the life of me. It is able to create the first object and add it to the world, but not the second. I've been told to refactor my code to avoid heap allocation, but have seen other examples of people doing it this same way (with shared_ptr, but still). I don't think my issue is running out of RAM, but have no way of knowing.
 
Status
Not open for further replies.
Back
Top