diff --git a/include/fc/io/iostream.hpp b/include/fc/io/iostream.hpp index ee10efe..1ec632f 100644 --- a/include/fc/io/iostream.hpp +++ b/include/fc/io/iostream.hpp @@ -31,6 +31,7 @@ namespace fc { istream& read( char* buf, size_t len ); istream& read( const std::shared_ptr& buf, size_t len, size_t offset = 0 ); virtual char get(); + void get( char& c ) { c = get(); } }; typedef std::shared_ptr istream_ptr;