removed some more unecessary boost.date_time dependencies

This commit is contained in:
Arvid Norberg
2007-04-10 07:52:58 +00:00
parent 5be60cc125
commit d88ffcc0e4
29 changed files with 85 additions and 230 deletions

View File

@@ -40,7 +40,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/lexical_cast.hpp>
#include <boost/filesystem/fstream.hpp>
#include <boost/filesystem/convenience.hpp>
#include <boost/date_time/posix_time/posix_time.hpp>
#ifdef _MSC_VER
#pragma warning(pop)
@@ -72,9 +71,7 @@ namespace libtorrent { namespace
void log_timestamp()
{
using namespace boost::posix_time;
std::string now(to_simple_string(second_clock::local_time()));
m_file << now << ": ";
m_file << time_now_string() << ": ";
}
// can add entries to the extension handshake