Skip to content

Commit

Permalink
Fix fc size_stream by adding missing virtual writesome overloaded fun…
Browse files Browse the repository at this point in the history
…ction
  • Loading branch information
mtyszczak authored and vogel76 committed Oct 11, 2024
1 parent b144c96 commit e03f8cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libraries/fc/include/fc/io/iobuffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ namespace fc
_size += len;
return len;
}
virtual size_t writesome( const std::shared_ptr<const char>& buf, size_t len, size_t offset )
{
_size += len;
return len;
}

virtual void close(){}
virtual void flush(){}
Expand Down

0 comments on commit e03f8cb

Please sign in to comment.