From e03f8cba61bb2d1eeda09a1ee95ab27ce5eb14d1 Mon Sep 17 00:00:00 2001 From: mtyszczak Date: Fri, 11 Oct 2024 12:22:05 +0200 Subject: [PATCH] Fix fc size_stream by adding missing virtual writesome overloaded function --- libraries/fc/include/fc/io/iobuffer.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/fc/include/fc/io/iobuffer.hpp b/libraries/fc/include/fc/io/iobuffer.hpp index 02f919b065..5a8549ec6c 100644 --- a/libraries/fc/include/fc/io/iobuffer.hpp +++ b/libraries/fc/include/fc/io/iobuffer.hpp @@ -20,6 +20,11 @@ namespace fc _size += len; return len; } + virtual size_t writesome( const std::shared_ptr& buf, size_t len, size_t offset ) + { + _size += len; + return len; + } virtual void close(){} virtual void flush(){}