refactor: use push_back in TaprootBuilder::Add(), rm NOLINTNEXTLINE and comment #29202

pull jonatack wants to merge 1 commits into bitcoin:master from jonatack:2024-01-rm-unneeded-NOLINTNEXTLINE changing 1 files +1 −3
  1. jonatack commented at 2:41 AM on January 8, 2024: member

    Using emplace_back and disabling the modernize-use-emplace Tidy CI check seems pointless here, as IIUC it doesn't avoid a temporary object compared to just using push_back. See #28583 for more context.

  2. DrahtBot commented at 2:41 AM on January 8, 2024: contributor

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--006a51241073e994b41acfe9ec718e94-->

    Code Coverage

    For detailed information about the code coverage, see the test coverage report.

    <!--021abf342d371248e50ceaed478a90ca-->

    Reviews

    See the guideline for information on the review process. A summary of reviews will appear here.

  3. DrahtBot added the label CI failed on Jan 8, 2024
  4. refactor: use push_back in TaprootBuilder::Add(), rm NOLINTNEXTLINE and comment
    `emplace_back` seems pointless here, as it doesn't avoid a temporary object
    compared to `push_back`
    9d4893b863
  5. jonatack renamed this:
    Remove no-longer-needed NOLINTNEXTLINE since C++20 upgrade
    refactor: use push_back in TaprootBuilder::Add(), rm NOLINTNEXTLINE and comment
    on Jan 8, 2024
  6. jonatack force-pushed on Jan 8, 2024
  7. jonatack closed this on Jan 8, 2024

  8. jonatack deleted the branch on Jan 12, 2024
  9. bitcoin locked this on Jan 11, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 21:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me