Core/ByteStream: Remove assertion on ByteStream pointer
Former-commit-id: 438b669e039cfdece251f4918926df9268bb01c1
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user