summaryrefslogtreecommitdiffstats
path: root/libtorrent/src/udp_tracker_connection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtorrent/src/udp_tracker_connection.cpp')
-rwxr-xr-xlibtorrent/src/udp_tracker_connection.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/libtorrent/src/udp_tracker_connection.cpp b/libtorrent/src/udp_tracker_connection.cpp
index c742aea01..01d4224c5 100755
--- a/libtorrent/src/udp_tracker_connection.cpp
+++ b/libtorrent/src/udp_tracker_connection.cpp
@@ -45,7 +45,11 @@ POSSIBILITY OF SUCH DAMAGE.
#endif
#include <boost/bind.hpp>
+
+#if defined TORRENT_VERBOSE_LOGGING || defined TORRENT_LOGGING
#include <boost/lexical_cast.hpp>
+using boost::lexical_cast;
+#endif
#ifdef _MSC_VER
#pragma warning(pop)
@@ -69,7 +73,6 @@ namespace
}
using boost::bind;
-using boost::lexical_cast;
namespace libtorrent
{