Segmentation Fault- Driver::run() getting ColorSet
Closed this issue · 1 comments
Colelyman commented
There is a segmentation fault early on in the program in Driver::run()
. I think that the issue is with ColorManager::getColors(unsigned int n)
because it seems that it is returning a faulty pointer to a Color.
Colelyman commented
This has been fixed by converting the raw pointers to shared_ptr
s in the ColorSet
and ColorManager
classes.