Core/ByteStream: Remove assertion on ByteStream pointer
Former-commit-id: 438b669e039cfdece251f4918926df9268bb01c1
This commit is contained in:
parent
b4e98dc7fc
commit
8e3c542049
|
|
@ -9,14 +9,10 @@ namespace Nz
|
||||||
{
|
{
|
||||||
/*!
|
/*!
|
||||||
* \brief Constructs a ByteStream object with a stream
|
* \brief Constructs a ByteStream object with a stream
|
||||||
*
|
|
||||||
* \remark Produces a NazaraAssert if stream is invalid
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
inline ByteStream::ByteStream(Stream* stream)
|
inline ByteStream::ByteStream(Stream* stream)
|
||||||
{
|
{
|
||||||
NazaraAssert(stream, "Invalid stream");
|
|
||||||
|
|
||||||
m_context.stream = stream;
|
m_context.stream = stream;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue