Colelyman/kleuren

Segmentation Fault- Driver::run() getting ColorSet

Closed this issue · 1 comments

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.

This has been fixed by converting the raw pointers to shared_ptrs in the ColorSet and ColorManager classes.

Commit reference: 9b5c072