fixed release-with-logging build configuration

This commit is contained in:
Arvid Norberg 2009-07-21 04:27:12 +00:00
parent c401c65dfb
commit 215b95699b
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -33,7 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/pch.hpp"
#include <algorithm>
#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM
#if defined TORRENT_VERBOSE_LOGGING && TORRENT_USE_IOSTREAM
#include <iomanip>
#include <iostream>
#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);