From 1baef63b998651b21816e16eae17bf83f76fa5d2 Mon Sep 17 00:00:00 2001 From: Daniel Wallin Date: Sun, 4 Jan 2004 12:54:38 +0000 Subject: [PATCH] *** empty log message *** --- include/libtorrent/storage.hpp | 4 +++- src/storage.cpp | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/libtorrent/storage.hpp b/include/libtorrent/storage.hpp index b4ad08336..b193e7e40 100755 --- a/include/libtorrent/storage.hpp +++ b/include/libtorrent/storage.hpp @@ -87,6 +87,8 @@ namespace libtorrent const torrent_info& info , const boost::filesystem::path& path); + ~piece_manager(); + void check_pieces( boost::mutex& mutex , detail::piece_checker_data& data @@ -107,7 +109,7 @@ namespace libtorrent private: struct impl; - opaque_value_ptr m_pimpl; + std::auto_ptr m_pimpl; }; } diff --git a/src/storage.cpp b/src/storage.cpp index f6c415808..728c9e114 100755 --- a/src/storage.cpp +++ b/src/storage.cpp @@ -425,6 +425,10 @@ namespace libtorrent { { } + piece_manager::~piece_manager() + { + } + void piece_manager::impl::export_piece_map( std::vector& p) const {