Skip to content

Commit

Permalink
Merge pull request #1505 from evoskuil/master
Browse files Browse the repository at this point in the history
Make byte_reader::default_arena() public.
  • Loading branch information
evoskuil authored Jul 22, 2024
2 parents 41f9be3 + 4ba5d9a commit 2c59dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bitcoin/system/stream/streamers/byte_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class byte_reader
{
public:
DEFAULT_COPY_MOVE_DESTRUCT(byte_reader);
static inline memory_arena default_arena() NOEXCEPT;

/// Constructors.
byte_reader(IStream& source,
Expand Down Expand Up @@ -192,7 +193,6 @@ class byte_reader
bool operator!() const NOEXCEPT override;

protected:
static inline memory_arena default_arena() NOEXCEPT;
static constexpr uint8_t pad() { return 0x00; };

// The maximum addressable stream position.
Expand Down

0 comments on commit 2c59dab

Please sign in to comment.