1
0
Fork 0
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:
Charles Kerr 2024-05-27 17:36:02 -05:00 committed by GitHub
parent 88d280be8f
commit 6132706565
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 1 additions and 21 deletions

View file

@ -35,7 +35,6 @@
#include <fmt/core.h>
#include <algorithm>
#include <list>
#include <memory>
#include <optional>
#include <queue>

View file

@ -38,8 +38,8 @@
#include <algorithm> // std::transform()
#include <array>
#include <map>
#include <memory>
#include <set>
#include <string>
#include <unordered_map>

View file

@ -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>

View file

@ -10,7 +10,6 @@
#include <array>
#include <cstddef> // size_t
#include <memory>
#include <openssl/crypto.h>
#include <openssl/err.h>

View file

@ -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>

View file

@ -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>

View file

@ -8,7 +8,6 @@
#include <chrono>
#include <cstddef> // size_t
#include <iterator> // back_insert_iterator, empty
#include <memory>
#include <mutex>
#include <optional>
#include <string>

View file

@ -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>

View file

@ -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>

View file

@ -8,7 +8,6 @@
#include <cstddef>
#include <iterator> // for std::distance()
#include <optional>
#include <string>
#include <string_view>
#include <vector>

View file

@ -17,7 +17,6 @@
#include <cstddef> // size_t
#include <cstdint> // uintX_t
#include <ctime> // time_t
#include <functional>
#include <future>
#include <memory>
#include <mutex>

View file

@ -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>

View file

@ -14,7 +14,6 @@
#include <ctime> // time_t
#include <deque>
#include <limits>
#include <memory>
#include <optional>
#include <string>
#include <string_view>

View file

@ -9,7 +9,6 @@
#include <cstdint> // uint16_t
#include <cstring>
#include <ctime> // time_t
#include <functional>
#include <memory>
#include <optional>
#include <string>

View file

@ -18,7 +18,6 @@
#include <locale>
#include <memory>
#include <optional>
#include <set>
#include <stdexcept> // std::runtime_error
#include <string>
#include <string_view>

View file

@ -5,7 +5,6 @@
#include <cerrno> // for errno
#include <memory>
#include <string>
#include <utility>
#include <fcntl.h> // for open()

View file

@ -6,7 +6,6 @@
#include "FilterBar.h"
#include <cstdint> // uint64_t
#include <map>
#include <unordered_map>
#include <utility>

View file

@ -5,7 +5,6 @@
#pragma once
#include <map>
#include <optional>
#include <vector>

View file

@ -6,7 +6,6 @@
#pragma once
#include <array>
#include <set>
#include <QObject>
#include <QString>

View file

@ -6,7 +6,6 @@
#include <algorithm>
#include <array>
#include <cassert>
#include <optional>
#include <string_view>
#include <utility>

View file

@ -8,7 +8,6 @@
#include <cstddef>
#include <ctime>
#include <iterator> // for std::back_inserter
#include <set>
#include <string_view>
#include <vector>