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(){}