Skip to content

Conversation

addaleax
Copy link
Member

No need to heap-allocate values here.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

No need to heap-allocate values here.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label May 10, 2018
@addaleax
Copy link
Member Author

@addaleax addaleax added the c++ Issues and PRs that require attention from people who are familiar with C++. label May 10, 2018
@bnoordhuis
Copy link
Member

Neither the linter nor cl.exe seems to like VLAs.

Not a fan myself for that matter, I'd use std::vector. :-)

@addaleax
Copy link
Member Author

@bnoordhuis Yup, done (but switched throughout the file, not just where the original change was).

CI: https://ci.nodejs.org/job/node-test-commit/18395/

@addaleax
Copy link
Member Author

@addaleax addaleax added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label May 11, 2018
jasnell pushed a commit that referenced this pull request May 12, 2018
No need to heap-allocate values here.

PR-URL: #20665
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
@jasnell
Copy link
Member

jasnell commented May 12, 2018

Landed in 19c9ff5

@jasnell jasnell closed this May 12, 2018
addaleax added a commit that referenced this pull request May 14, 2018
No need to heap-allocate values here.

PR-URL: #20665
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
@addaleax addaleax mentioned this pull request May 14, 2018
addaleax added a commit that referenced this pull request Jun 29, 2018
No need to heap-allocate values here.

PR-URL: #20665
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jul 9, 2018
rvagg pushed a commit that referenced this pull request Aug 16, 2018
No need to heap-allocate values here.

PR-URL: #20665
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. c++ Issues and PRs that require attention from people who are familiar with C++. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants