Skip to content

Conversation

DeepWolf413
Copy link

No description provided.

I changed the string parameters for SetFile, SetSet, and the constructor to 'const std::string&' so it is being sent as a reference instead. Before the changes it would make a copy of the string being sent as an argument. And the const basically marks it as not being changed in the scope of the function/constructor.
I also removed Screen from the namespace to keep things consistent with the rest of the project (other cpp files currently only has LemonUI in the namespace).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant