From 9a9c121ec0ce5692c93c24613d85272d23b4d587 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 15 Jul 2010 06:31:39 +0000 Subject: [PATCH] fixed assert typo --- include/libtorrent/peer_connection.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/libtorrent/peer_connection.hpp b/include/libtorrent/peer_connection.hpp index 993c3a161..0062cc486 100644 --- a/include/libtorrent/peer_connection.hpp +++ b/include/libtorrent/peer_connection.hpp @@ -1109,9 +1109,9 @@ namespace libtorrent friend void* asio_handler_allocate( std::size_t size, allocating_handler* 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;