dropped some iostream dependencies
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user