From 3cac133e5137bf9925ab5cc72e6544777ac01e67 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 15 May 2006 21:19:19 +0000 Subject: [PATCH] fixed typo that made debug code to be called in release mode (caused a compile error) --- src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.cpp b/src/session.cpp index e2493dabc..f01240dca 100755 --- a/src/session.cpp +++ b/src/session.cpp @@ -851,7 +851,7 @@ namespace libtorrent { namespace detail for (std::map >::iterator i = m_torrents.begin(); i != m_torrents.end(); ++i) { -#ifndef DEBUG +#ifndef NDEBUG i->second->check_invariant(); #endif i->second->distribute_resources();