Skip to content
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

[Performance] Change to use Pass by reference where valid. #3163

Merged
merged 2 commits into from Apr 2, 2023

Conversation

Aeadoin
Copy link
Contributor

@Aeadoin Aeadoin commented Mar 30, 2023

Clean uses where we were passing by value where the value isn't a nullptr.
Clean uses where we were using postfix vs prefix operators on a non-primitive type.
Clean uses of converting a std::string to a c_string where the expected type is a std::string.
Catches should be passed by reference.

ucs/chatchannel.h Outdated Show resolved Hide resolved
@Kinglykrab Kinglykrab merged commit 1ffdd4c into EQEmu:master Apr 2, 2023
@Aeadoin Aeadoin deleted the performance branch April 2, 2023 18:25
@Aeadoin Aeadoin mentioned this pull request Apr 3, 2023
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.

None yet

3 participants