Skip to content

Commit f671387

Browse files
restyled-commitsnivi-apple
authored andcommitted
Restyled by clang-format
1 parent 372414a commit f671387

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/platform/Darwin/UserDefaults.mm

+6-6
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
namespace chip {
2424
namespace DeviceLayer {
2525

26-
uint16_t getUserDefaultDnssdSRPTimeoutInMSecs()
27-
{
28-
NSUserDefaults * defaults = [[NSUserDefaults alloc] initWithSuiteName:kUserDefaultDomain];
29-
NSInteger srpTimeoutValue = [defaults integerForKey:kSRPTimeoutInMsecsUserDefaultKey];
30-
return (srpTimeoutValue < UINT16_MAX) ? static_cast<uint16_t>(srpTimeoutValue) : 0;
31-
}
26+
uint16_t getUserDefaultDnssdSRPTimeoutInMSecs()
27+
{
28+
NSUserDefaults * defaults = [[NSUserDefaults alloc] initWithSuiteName:kUserDefaultDomain];
29+
NSInteger srpTimeoutValue = [defaults integerForKey:kSRPTimeoutInMsecsUserDefaultKey];
30+
return (srpTimeoutValue < UINT16_MAX) ? static_cast<uint16_t>(srpTimeoutValue) : 0;
31+
}
3232

3333
} // namespace DeviceLayer
3434
} // namespace chip

0 commit comments

Comments
 (0)