dropped some iostream dependencies

This commit is contained in:
Arvid Norberg
2009-04-04 09:52:25 +00:00
parent ac7e4fed7e
commit aba5b2e9d0
34 changed files with 404 additions and 326 deletions

View File

@@ -33,8 +33,10 @@ POSSIBILITY OF SUCH DAMAGE.
#include "libtorrent/pch.hpp"
#include <algorithm>
#include <iostream>
#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM
#include <iomanip>
#include <iostream>
#endif
#include <boost/bind.hpp>
#include "libtorrent/entry.hpp"
#include "libtorrent/config.hpp"
@@ -353,6 +355,7 @@ namespace libtorrent
TORRENT_ASSERT(false);
}
#if defined TORRENT_DEBUG && TORRENT_USE_IOSTREAM
void entry::print(std::ostream& os, int indent) const
{
TORRENT_ASSERT(indent >= 0);
@@ -415,5 +418,6 @@ namespace libtorrent
os << "<uninitialized>\n";
}
}
#endif
}