From f57703ded030ae2ef0a1218fdf92f493571f8ec9 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Tue, 9 Jun 2009 22:02:02 +0000 Subject: [PATCH] fixed inconsistent use of preprocessor macro for entry::print --- include/libtorrent/entry.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/entry.hpp b/include/libtorrent/entry.hpp index c7685a2f8..c357a68ca 100644 --- a/include/libtorrent/entry.hpp +++ b/include/libtorrent/entry.hpp @@ -224,7 +224,7 @@ namespace libtorrent #endif }; -#if TORRENT_USE_IOSTREAM +#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM inline std::ostream& operator<<(std::ostream& os, const entry& e) { e.print(os, 0);