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

Refine IsContainFields function #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TingyuHuang
Copy link

- Avoid copying fields.
- Pass the content by const referenceas to handle const
  string parameter. Copy it in the function by to_lower_copy.
- Declare as a static member function to avoid passing 'this' pointer.

Signed-off-by: Tingyu Huang [email protected]

    - Avoid copying fields.
    - Pass the content by const referenceas to handle const
      string parameter. Copy it in the function by to_lower_copy.
    - Declare as a static member function to avoid passing 'this' pointer.

Signed-off-by: Tingyu Huang <[email protected]>
@coveralls
Copy link

Pull Request Test Coverage Report for Build 46

  • 0 of 4 (0.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage remained the same at 47.619%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/http.cc 0 4 0.0%
Files with Coverage Reduction New Missed Lines %
src/http.cc 1 29.17%
Totals Coverage Status
Change from base Build 45: 0.0%
Covered Lines: 70
Relevant Lines: 147

💛 - Coveralls

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