aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-dataloader/detail/BasicBufferHandler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/openvic-dataloader/detail/BasicBufferHandler.hpp')
-rw-r--r--src/openvic-dataloader/detail/BasicBufferHandler.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/openvic-dataloader/detail/BasicBufferHandler.hpp b/src/openvic-dataloader/detail/BasicBufferHandler.hpp
index 5f4f82d..72b85d3 100644
--- a/src/openvic-dataloader/detail/BasicBufferHandler.hpp
+++ b/src/openvic-dataloader/detail/BasicBufferHandler.hpp
@@ -41,6 +41,10 @@ namespace ovdl::detail {
return std::nullopt;
}
+ const auto& get_buffer() const {
+ return _buffer;
+ }
+
protected:
lexy::buffer<Encoding, MemoryResource> _buffer;
};