diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2020-03-29 16:58:04 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2020-05-12 14:12:46 -0700 |
commit | bb3d38fc061d8482e68cd335a45c9cd8bb66a475 (patch) | |
tree | e267d5d97f68f8b0a73035c4ff913a4cd30b709a /src/test/util_tests.cpp | |
parent | 1f790a1147ad9a5fe06987d84b6cd71f91cbec4b (diff) |
Make pointer-based Span construction safer
This prevents constructing a Span<A> given two pointers into an array
of B (where B is a subclass of A), at least without explicit cast to
pointers to A.
Diffstat (limited to 'src/test/util_tests.cpp')
0 files changed, 0 insertions, 0 deletions