Because it can't throw but that's not implied by constexpr. This fixes a build issue with clang8 that requires a noexcept constructor for the atomic, so we need that noexcept to build a std::atomic<Amount> which we do in net.h.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC5d8279e3cc4b: Make the Amount constructor noexcept
With clang 8:
ninja all check
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable