Design-Patterns-GoF
Design-Patterns-GoF copied to clipboard
GlyphFactory.cpp:20:22: error: array subscript has type 'char' [-Werror=char-subscripts]
GlyphFactory.cpp:20:22: error: array subscript has type 'char' [-Werror=char-subscripts]
char is signed on some machines.
a Subscript of an Array is defined unsigned in C (0....n)
here i will correct it so it runs in ESP32. please Double check it before take over to your Repo, because i do not check if it is running on PC !
same Story for the delete[]. there is no new[]. so delete[] is wrong.
https://stackoverflow.com/questions/2425728/delete-vs-delete-operators-in-c