mirror of
https://github.com/transmission/transmission.git
synced 2025-12-25 04:45:56 +00:00
build: lint header files with clang-tidy (#7527)
* build: clang-tidy headers when building libtransmission
* chore: revert `= default` workaround
It was introduced in 6909ec0bad to fix build issues with macOS 10.14. We
no longer support that version.
* fix: clang-tidy warnings for libtransmission
* build: clang-tidy headers when building tests
* fix: clang-tidy warnings for tests
* build: clang-tidy headers when building qt
* code review: don't manually edit mime-types.h
* code review: unify variable naming for static private members
This commit is contained in:
@@ -39,9 +39,9 @@
|
||||
|
||||
// ---
|
||||
|
||||
#define TR_INET6_ADDRSTRLEN 46
|
||||
inline auto constexpr TrInet6AddrStrlen = 46U;
|
||||
|
||||
#define TR_ADDRSTRLEN 64
|
||||
inline auto constexpr TrAddrStrlen = 64U;
|
||||
|
||||
// https://www.bittorrent.org/beps/bep_0007.html
|
||||
// "The client SHOULD include a key parameter in its announces. The key
|
||||
|
||||
Reference in New Issue
Block a user