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

src: fix compiler warnings #32126

Merged
merged 2 commits into from
Mar 8, 2020
Merged

src: fix compiler warnings #32126

merged 2 commits into from
Mar 8, 2020

Commits on Mar 8, 2020

  1. src: fix -Winconsistent-missing-override warning

    ../src/node_http_common.h:497:8: warning: 'MemoryInfo' overrides a
    member function but is not marked 'override' [-Winconsistent-missing-override]
      void MemoryInfo(MemoryTracker* tracker) const {
    
    PR-URL: nodejs#32126
    Refs: nodejs#32069
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    cjihrig committed Mar 8, 2020
    Configuration menu
    Copy the full SHA
    3b8d70d View commit details
    Browse the repository at this point in the history
  2. src: fix -Wreorder compiler warning

    ../src/node_http_common-inl.h:126:7: warning: field 'token_'
    will be initialized after field 'name_' [-Wreorder]
        : token_(other.token_),
    
    PR-URL: nodejs#32126
    Refs: nodejs#32069
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: David Carlier <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    cjihrig committed Mar 8, 2020
    Configuration menu
    Copy the full SHA
    7bb4f95 View commit details
    Browse the repository at this point in the history