mirror of
https://github.com/transmission/transmission.git
synced 2025-12-20 02:18:42 +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:
@@ -48,7 +48,7 @@ using namespace libtransmission::Values;
|
||||
|
||||
namespace
|
||||
{
|
||||
auto constexpr DefaultPort = uint16_t{ TR_DEFAULT_RPC_PORT };
|
||||
auto constexpr DefaultPort = uint16_t{ TrDefaultRpcPort };
|
||||
char constexpr DefaultHost[] = "localhost";
|
||||
char constexpr DefaultUrl[] = TR_DEFAULT_RPC_URL_STR "rpc/";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user