diff options
| author | Anthony Towns <[email protected]> | 2020-09-25 15:01:38 +1000 |
|---|---|---|
| committer | Anthony Towns <[email protected]> | 2020-09-28 12:14:19 +1000 |
| commit | 183f308fff4caad3e3ada654b6fdf597d262c4c1 (patch) | |
| tree | 2cabf5cc8477e418159670ed73be97daa96b0bdd /src/script/script.cpp | |
| parent | Merge #19804: test/refactor: reference p2p objects explicitly and remove conf... (diff) | |
| download | discoin-183f308fff4caad3e3ada654b6fdf597d262c4c1.tar.xz discoin-183f308fff4caad3e3ada654b6fdf597d262c4c1.zip | |
uint256: Update constructors to c++11, make ONE static
Replace the memset with C++11 value/aggregate initialisation of
the m_data array, which still ensures the unspecified values end
up as zero-initialised.
This then allows changing UINT256_ONE() from dynamically allocating an
object, to a simpler referencing a static allocation.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions