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

Parameter 'xxx' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++. #2379

Closed
marakew opened this issue Jun 14, 2022 · 0 comments · Fixed by #2558
Labels
[core] Area: Changes in SRT library core Type: Maintenance Work required to maintain or clean up the code
Milestone

Comments

@marakew
Copy link

marakew commented Jun 14, 2022

IsName(std::string nn): n(nn) {}

bool SrtParseConfig(string s, SrtConfig& w_config)

void resetlogfa(set<LogFA> fas)

bool srt::ParseFilterConfig(string s, SrtFilterConfig& w_config, PacketFilter::Factory** ppf)

bool srt::ParseFilterConfig(string s, SrtFilterConfig& w_config)

@marakew marakew changed the title Parameter 'nn' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++. Parameter 'xxx' is passed by value. It could be passed as a const reference which is usually faster and recommended in C++. Jun 14, 2022
@maxsharabayko maxsharabayko added this to the Next Release milestone Jun 15, 2022
@maxsharabayko maxsharabayko modified the milestones: v1.5.1, Next release Sep 12, 2022
@maxsharabayko maxsharabayko added Type: Maintenance Work required to maintain or clean up the code [core] Area: Changes in SRT library core labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants