-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace std::string #84
Comments
De manière général faire la "chasse" au constructeur par recopie... Dans le même fichier : Line 40 in 5f99a98
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dans le frameBuffer, la fonction drawText utilise une
std::string
ce qui demande une allocation de mémoire pour recopier le text, il faudrait au mieux mettreconst std::string&
ou mêmecont char*
pour ne plus avoir d'allocation (dans le cas où l'on faitssd.drawText("Hello World", ...)
)codal-stm32/inc/frameBuffer.h
Line 28 in 5f99a98
The text was updated successfully, but these errors were encountered: