From 28383462d9709021f738184337892e424104e0f3 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 2 Feb 2022 12:02:56 +0100 Subject: Bump jaulib v0.7.11 + required API adaption --- include/elevator/IOUtil.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/elevator/IOUtil.hpp b/include/elevator/IOUtil.hpp index 93ebdb8..ce71c86 100644 --- a/include/elevator/IOUtil.hpp +++ b/include/elevator/IOUtil.hpp @@ -32,7 +32,7 @@ class IOUtil { typedef std::function& /* data */, bool /* is_final */)> StreamConsumerFunc; - typedef jau::ringbuffer ByteRingbuffer; + typedef jau::ringbuffer ByteRingbuffer; /** * Operation result value @@ -150,7 +150,7 @@ class DataSource_URL final : public Botan::DataSource { uint64_t get_available() const noexcept { if( IOUtil::result_t::NONE != m_http_result ) { // http thread ended, only remaining bytes in buffer available left - return m_buffer.getSize(); + return m_buffer.size(); } if( m_url_has_content_length ) { return m_url_content_length - m_bytes_consumed; -- cgit v1.2.3