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

Avoid redundant string length function calls #21861

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

Chocobo1
Copy link
Member

Also change helper function parameter to std::string_view as it is more generic and can handle more types (including view types).

Also switch to `std::string_view` as it is more generic and can handle more types (including
view types).
@Chocobo1 Chocobo1 added the Code cleanup Clean up the code while preserving the same outcome label Nov 16, 2024
@Chocobo1 Chocobo1 added this to the 5.1 milestone Nov 16, 2024
src/base/bittorrent/dbresumedatastorage.cpp Dismissed Show dismissed Hide dismissed
@Chocobo1 Chocobo1 merged commit 6ddde3f into qbittorrent:master Nov 18, 2024
27 checks passed
@Chocobo1 Chocobo1 deleted the conversion branch November 18, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code cleanup Clean up the code while preserving the same outcome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants