refactor: make read-only local views const

This commit is contained in:
ReenigneArcher committed 2026-10-12 00:25:58 -04:00
1 parent 248ea56c1f
commit 6cca0e7285
11 files changed
+45 -26

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ TEST(EntryHandlerTests, InfrastructureDestructionJoinsWorkBeforeDependencyCleanu
auto *owner = infrastructure.get();
const std::weak_ptr<safe::mail_raw_t> mailbox = owner->mailbox();
#ifdef _WIN32
auto *preferences = &owner->preferences();
const auto *preferences = &owner->preferences(); ///< Read-only identity checked before the preferences owner is released.
#endif
std::promise<void> started;
std::promise<void> release;