Skip to content

Commit

Permalink
Expose the reader in StreamReaderDataContext via a new method get_rea…
Browse files Browse the repository at this point in the history
…der.
  • Loading branch information
junhaoliao committed Oct 15, 2024
1 parent 3b90f9d commit 6923a73
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/clp_ffi_js/ir/StreamReaderDataContext.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ class StreamReaderDataContext {
~StreamReaderDataContext() = default;

// Methods
/**
* @return A reference to the reader.
*/
[[nodiscard]] auto get_reader() -> clp::ReaderInterface& { return *m_reader; }

/**
* @return A reference to the deserializer.
*/
Expand Down

0 comments on commit 6923a73

Please sign in to comment.