diff options
author | fanquake <fanquake@gmail.com> | 2024-01-18 09:35:36 +0000 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2024-01-18 09:40:44 +0000 |
commit | 03c5b0064d4f766bc8dc6508773c7579e9ad39bc (patch) | |
tree | 0ee3018b6ebe23dcd75a6fd442754a0bea1db800 /src/wallet/scriptpubkeyman.cpp | |
parent | 3d52cedb497e0ec029ba3cef95b00169c157d8ae (diff) | |
parent | 60446285436da62adef1c0a9b11c3336d82b4d89 (diff) | |
download | bitcoin-03c5b0064d4f766bc8dc6508773c7579e9ad39bc.tar.xz |
Merge bitcoin/bitcoin#29085: refactor: C++20: Use std::rotl
60446285436da62adef1c0a9b11c3336d82b4d89 crypto, hash: replace custom rotl32 with std::rotl (Fabian Jahr)
Pull request description:
While exploring some C++20 changes and checking against our code I found this potential improvement:
1. We can replace our custom implementation of `rotl32` in crypto/chacha20 with `std::rotl` from the [new `bit` header](https://en.cppreference.com/w/cpp/header/bit).
ACKs for top commit:
fanquake:
ACK 60446285436da62adef1c0a9b11c3336d82b4d89
Tree-SHA512: db55b366f20fca2ef62e5f10a838f8a709d531678c35c1dba20898754029c788a2fd47995208ed6d187cf814109a7ca397bc2c301504500aee79da04c95d6895
Diffstat (limited to 'src/wallet/scriptpubkeyman.cpp')
0 files changed, 0 insertions, 0 deletions