facebook / proxygen

A collection of C++ HTTP libraries including an easy to use HTTP server.
Other
8.03k stars 1.47k forks source link

[] #452

Closed jubinchheda closed 10 months ago

jubinchheda commented 10 months ago

Summary: Infer detected a(n) [Const Refable Parameter](https://fbinfer.com/docs/next/all-issue-types#const refable parameter) issue. Function parameter h2Pri is passed by-value but not modified inside the function on line 785. This might result in an unnecessary copy at the callsite of this function. Consider changing the type of this function parameter to const &.

Reviewed By: afrind

Differential Revision: D46807054

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D46807054

facebook-github-bot commented 10 months ago

This pull request was exported from Phabricator. Differential Revision: D46807054