From d2aa2f10de6c8fa752632eefe9ac50dd2ad3faf8 Mon Sep 17 00:00:00 2001 From: Dennis Klein Date: Tue, 9 Jun 2026 20:02:22 +0200 Subject: [PATCH] style: drop redundant empty-string initializers - remove `= ""` initialization from strings that default-construct empty - clang-tidy readability-redundant-string-init https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-string-init.html --- fairmq/UnmanagedRegion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fairmq/UnmanagedRegion.h b/fairmq/UnmanagedRegion.h index 7f3bb901..24c90e4c 100644 --- a/fairmq/UnmanagedRegion.h +++ b/fairmq/UnmanagedRegion.h @@ -135,7 +135,7 @@ struct RegionConfig int64_t userFlags = 0; /// custom flags that have no effect on the transport, but can be retrieved from the region by the user uint64_t size = 0; /// region size uint64_t rcSegmentSize = 100000000; /// size of the segment that stores reference counts when "soft"-copying the messages - std::string path = ""; /// file path, if the region is backed by a file + std::string path; /// file path, if the region is backed by a file std::optional id = std::nullopt; /// region id uint32_t linger = 100; /// delay in ms before region destruction to collect outstanding events };