1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-22 15:54:57 +00:00

fix clang-format (#6616)

This commit is contained in:
Cœur 2024-02-18 05:41:52 +01:00 committed by GitHub
parent d7e74654c9
commit c3667fa5a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -470,7 +470,7 @@ void PrefsDialog::portTestSetEnabled()
void PrefsDialog::onPortTested(std::optional<bool> result, Session::PortTestIpProtocol ip_protocol) void PrefsDialog::onPortTested(std::optional<bool> result, Session::PortTestIpProtocol ip_protocol)
{ {
constexpr auto StatusFromResult = [](const std::optional<bool> result) constexpr auto StatusFromResult = [](std::optional<bool> const result)
{ {
if (!result) if (!result)
{ {