HomePhabricator

Remove unused raw-pointer read helper from univalue

Description

Remove unused raw-pointer read helper from univalue

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 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

Details

Provenance
MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>Authored on Jul 27 2023, 10:17
FabienCommitted on Thu, Jun 6, 10:38
FabienPushed on Thu, Jun 6, 10:38
Reviewer
Restricted Project
Differential Revision
D16296: Remove unused raw-pointer read helper from univalue
Parents
rABCdafdf07d9791: scripted-diff: Following the C++ Standard rules for identifiers with _.
Branches
Unknown
Tags
Unknown