aboutsummaryrefslogtreecommitdiff
path: root/src/support/allocators/zeroafterfree.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/allocators/zeroafterfree.h')
-rw-r--r--src/support/allocators/zeroafterfree.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/allocators/zeroafterfree.h b/src/support/allocators/zeroafterfree.h
index bc9c95eb53..0befe0ffcd 100644
--- a/src/support/allocators/zeroafterfree.h
+++ b/src/support/allocators/zeroafterfree.h
@@ -41,6 +41,6 @@ struct zero_after_free_allocator : public std::allocator<T> {
};
/** Byte-vector that clears its contents before deletion. */
-using SerializeData = std::vector<uint8_t, zero_after_free_allocator<uint8_t>>;
+using SerializeData = std::vector<std::byte, zero_after_free_allocator<std::byte>>;
#endif // BITCOIN_SUPPORT_ALLOCATORS_ZEROAFTERFREE_H