fixed assert typo
This commit is contained in:
parent
4c6be42b74
commit
9a9c121ec0
|
@ -1109,9 +1109,9 @@ namespace libtorrent
|
|||
friend void* asio_handler_allocate(
|
||||
std::size_t size, allocating_handler<Handler, Size>* ctx)
|
||||
{
|
||||
assert(size <= Size);
|
||||
TORRENT_ASSERT(size <= Size);
|
||||
#ifdef TORRENT_DEBUG
|
||||
assert(!ctx->storage.used);
|
||||
TORRENT_ASSERT(!ctx->storage.used);
|
||||
ctx->storage.used = true;
|
||||
#endif
|
||||
return &ctx->storage.bytes;
|
||||
|
|
Loading…
Reference in New Issue