Repository navigation
refactor: Remove unused raw-pointer read helper from univalue - #28168
Merged
Merged
Conversation
Contributor
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
maflcko
force-pushed
the
2307-remove-code-
branch
2 times, most recently
from
July 27, 2023 11:10
fa783ac to
9999cfc
Compare
stickies-v
approved these changes
Jul 27, 2023
stickies-v
left a comment
Contributor
There was a problem hiding this comment.
utACK 9999cfc1f3b728132e011f0aec24211212924de2
maflcko
force-pushed
the
2307-remove-code-
branch
from
July 27, 2023 11:24
9999cfc to
fa7668e
Compare
maflcko
commented
Jul 27, 2023
maflcko
marked this pull request as draft
July 27, 2023 11:58
maflcko
force-pushed
the
2307-remove-code-
branch
from
July 27, 2023 12:25
fa7668e to
fa940f4
Compare
maflcko
marked this pull request as ready for review
July 27, 2023 13:17
sedited
approved these changes
Jul 28, 2023
Fabcien
pushed a commit
to Bitcoin-ABC/bitcoin-abc
that referenced
this pull request
Jun 6, 2024
Summary: ``` The helpers are unused outside of tests and redundant with the existing bool read(std::string_view raw);. Fix both issues by removing them. Also, simplify the tests code by removing a std::string constructor where possible. ``` Backport of [[bitcoin/bitcoin#28168 | core#28168]]. Depends on D16295. Test Plan: ninja all check Reviewers: #bitcoin_abc, PiRK Reviewed By: #bitcoin_abc, PiRK Differential Revision: https://reviews.bitcoinabc.org/D16296
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The helpers are unused outside of tests and redundant with the existing
bool read(std::string_view raw);.Fix both issues by removing them.
Also, simplify the tests code by removing a
std::stringconstructor where possible.