Skip to content

Commit

Permalink
remove some unused includes
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Aug 14, 2022
1 parent cd543f7 commit 884782c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 18 deletions.
15 changes: 0 additions & 15 deletions include/libtorrent/aux_/mmap_disk_job.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,8 @@ see LICENSE file.
#ifndef TORRENT_MMAP_DISK_JOB_HPP
#define TORRENT_MMAP_DISK_JOB_HPP

#include "libtorrent/fwd.hpp"
#include "libtorrent/error_code.hpp"
#include "libtorrent/aux_/tailqueue.hpp"
#include "libtorrent/sha1_hash.hpp"
#include "libtorrent/disk_interface.hpp"
#include "libtorrent/aux_/vector.hpp"
#include "libtorrent/units.hpp"
#include "libtorrent/session_types.hpp"
#include "libtorrent/flags.hpp"
#include "libtorrent/aux_/disk_job.hpp"

#include <variant>
#include <string>
#include <vector>
#include <memory>
#include <functional>

namespace libtorrent::aux {

struct mmap_storage;
Expand Down
4 changes: 1 addition & 3 deletions src/mmap_disk_io.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ see LICENSE file.
#include "libtorrent/aux_/throw.hpp"
#include "libtorrent/error_code.hpp"
#include "libtorrent/error.hpp"
#include "libtorrent/torrent_info.hpp"
#include "libtorrent/aux_/disk_buffer_pool.hpp"
#include "libtorrent/aux_/mmap_disk_job.hpp"
#include "libtorrent/performance_counters.hpp"
#include "libtorrent/aux_/debug.hpp"
#include "libtorrent/units.hpp"
#include "libtorrent/hasher.hpp"
#include "libtorrent/aux_/platform_util.hpp"
#include "libtorrent/aux_/platform_util.hpp" // for set_thread_name
#include "libtorrent/aux_/disk_job_pool.hpp"
#include "libtorrent/aux_/disk_io_thread_pool.hpp"
#include "libtorrent/aux_/store_buffer.hpp"
Expand All @@ -39,7 +38,6 @@ see LICENSE file.
#include "libtorrent/aux_/numeric_cast.hpp"
#include "libtorrent/settings_pack.hpp"
#include "libtorrent/aux_/file_view_pool.hpp"
#include "libtorrent/aux_/scope_end.hpp"
#include "libtorrent/aux_/storage_array.hpp"
#include "libtorrent/aux_/disk_completed_queue.hpp"

Expand Down
1 change: 1 addition & 0 deletions src/storage_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ see LICENSE file.
#endif

#include <set>
#include <algorithm>

namespace libtorrent { namespace aux {

Expand Down

0 comments on commit 884782c

Please sign in to comment.