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
- Branch
- noexcept_amount
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 23510 Build 46639: Build Diff build-diff · lint-circular-dependencies · build-without-wallet · build-debug · build-clang · build-clang-tidy Build 46638: arc lint + arc unit