[Cleanup] Use .clear() instead of setting string to empty in eqemu_command_handler.cpp (#3195)

# Notes
- `x = ""` has less performance than `x.clear()`.
- https://pvs-studio.com/en/docs/warnings/v815/
This commit is contained in:
Alex King 2023-04-05 11:24:12 -04:00 committed by GitHub
parent aa910864c8
commit 968278d8f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,7 @@ namespace EQEmuCommand {
*/
std::string command_section;
for (auto &it: in_function_map) {
description = "";
description.clear();
(it.second)(argc, argv, cmd, description);