From 215b95699b4aaca79eb7485c9cf54808317d58e4 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 21 Jul 2009 04:27:12 +0000 Subject: [PATCH] fixed release-with-logging build configuration --- include/libtorrent/entry.hpp | 2 +- src/entry.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/libtorrent/entry.hpp b/include/libtorrent/entry.hpp index c357a68ca..42b8ef1a2 100644 --- a/include/libtorrent/entry.hpp +++ b/include/libtorrent/entry.hpp @@ -174,7 +174,7 @@ namespace libtorrent entry* find_key(std::string const& key); entry const* find_key(std::string const& key) const; -#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM +#if defined TORRENT_VERBOSE_LOGGING && TORRENT_USE_IOSTREAM void print(std::ostream& os, int indent = 0) const; #endif diff --git a/src/entry.cpp b/src/entry.cpp index d23234c70..0cff6fd9d 100644 --- a/src/entry.cpp +++ b/src/entry.cpp @@ -33,7 +33,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/pch.hpp" #include -#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM +#if defined TORRENT_VERBOSE_LOGGING && TORRENT_USE_IOSTREAM #include #include #endif @@ -351,7 +351,7 @@ namespace libtorrent TORRENT_ASSERT(false); } -#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM +#if defined TORRENT_VERBOSE_LOGGING && TORRENT_USE_IOSTREAM void entry::print(std::ostream& os, int indent) const { TORRENT_ASSERT(indent >= 0);