mirror of
https://github.com/transmission/transmission
synced 2024-12-21 23:32:35 +00:00
chore: iwyu (#6864)
* chore: do not include <set> unless we use it * chore: do not include <map> unless we use it * chore: do not include <string> unless we use it * chore: do not include <list> unless we use it * chore: do not include <memory> unless we use it * chore: do not include <optional> unless we use it * chore: do not include <functional> unless we use it
This commit is contained in:
parent
88d280be8f
commit
6132706565
21 changed files with 1 additions and 21 deletions
|
@ -35,7 +35,6 @@
|
|||
#include <fmt/core.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <list>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <queue>
|
||||
|
|
|
@ -38,8 +38,8 @@
|
|||
|
||||
#include <algorithm> // std::transform()
|
||||
#include <array>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
||||
#include <mbedtls/base64.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#include <array>
|
||||
#include <cstddef> // size_t
|
||||
#include <memory>
|
||||
|
||||
#include <openssl/crypto.h>
|
||||
#include <openssl/err.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
// or any future license endorsed by Mnemosyne LLC.
|
||||
// License text can be found in the licenses/ folder.
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
||||
#include <wolfssl/options.h>
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <cstddef> // size_t
|
||||
#include <cstdint>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <random> // for std::uniform_int_distribution<T>
|
||||
#include <string>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <chrono>
|
||||
#include <cstddef> // size_t
|
||||
#include <iterator> // back_insert_iterator, empty
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#include <array>
|
||||
#include <cstddef> // size_t
|
||||
#include <cstdint> // uint16_t, uint32_t, uint8_t
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include <cstddef> // std::byte
|
||||
#include <cstdint>
|
||||
#include <ctime> // time_t
|
||||
#include <functional>
|
||||
#include <iterator> // std::back_inserter
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <cstddef>
|
||||
#include <iterator> // for std::distance()
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
#include <cstddef> // size_t
|
||||
#include <cstdint> // uintX_t
|
||||
#include <ctime> // time_t
|
||||
#include <functional>
|
||||
#include <future>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
#include <chrono>
|
||||
#include <cstddef> // size_t
|
||||
#include <cstdint> // int64_t, uint32_t
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
#include <ctime> // time_t
|
||||
#include <deque>
|
||||
#include <limits>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
#include <cstdint> // uint16_t
|
||||
#include <cstring>
|
||||
#include <ctime> // time_t
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#include <locale>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
#include <set>
|
||||
#include <stdexcept> // std::runtime_error
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#include <cerrno> // for errno
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include <fcntl.h> // for open()
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include "FilterBar.h"
|
||||
|
||||
#include <cstdint> // uint64_t
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <utility>
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <array>
|
||||
#include <set>
|
||||
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cassert>
|
||||
#include <optional>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
#include <cstddef>
|
||||
#include <ctime>
|
||||
#include <iterator> // for std::back_inserter
|
||||
#include <set>
|
||||
#include <string_view>
|
||||
#include <vector>
|
||||
|
||||
|
|
Loading…
Reference in a new issue