Memory streams - Fixed FixedBuffer template
This commit is contained in:
parent
8a19374d3f
commit
b8db177012
2 changed files with 4 additions and 4 deletions
include/ebcl/inline
|
@ -10,7 +10,7 @@ namespace ebcl {
|
|||
|
||||
/*= T_MemoryInputStream ======================================================*/
|
||||
|
||||
template< int S , typename T >
|
||||
template< size_t S , typename T >
|
||||
inline T_MemoryInputStream::T_MemoryInputStream( T_FixedBuffer< S , T > const& buffer )
|
||||
: T_MemoryInputStream( buffer.data( ) , buffer.bytes( ) )
|
||||
{ }
|
||||
|
@ -23,7 +23,7 @@ inline T_MemoryInputStream::T_MemoryInputStream( T_Buffer< T > const& buffer )
|
|||
|
||||
/*= T_MemoryOutputStream =====================================================*/
|
||||
|
||||
template< int S , typename T >
|
||||
template< size_t S , typename T >
|
||||
inline T_MemoryOutputStream::T_MemoryOutputStream( T_FixedBuffer< S , T >& buffer )
|
||||
: T_MemoryOutputStream( buffer.data( ) , buffer.bytes( ) )
|
||||
{ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue