aboutsummaryrefslogtreecommitdiff
path: root/src/test/util_tests.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2020-03-29 16:58:04 -0700
committerPieter Wuille <pieter.wuille@gmail.com>2020-05-12 14:12:46 -0700
commitbb3d38fc061d8482e68cd335a45c9cd8bb66a475 (patch)
treee267d5d97f68f8b0a73035c4ff913a4cd30b709a /src/test/util_tests.cpp
parent1f790a1147ad9a5fe06987d84b6cd71f91cbec4b (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