Page MenuHomePhabricator

refactor: use constexpr and remove template
ClosedPublic

Authored by PiRK on Dec 23 2021, 09:16.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABCdf99eb6da0e8: refactor: use constexpr and remove template
Summary

Minor follow-up to core#19845 (D10720).

The template was thought to be needed to handle both std::ios_base::failure and std::runtime_error, but they both inherit std:eexception so it is not necessary.

This is a backport of core#20033

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable