mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-06-15 08:17:05 +00:00
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
This commit is contained in:
committed by
Dennis Klein
parent
d5e0c29ced
commit
d2aa2f10de
@@ -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
|
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 size = 0; /// region size
|
||||||
uint64_t rcSegmentSize = 100000000; /// size of the segment that stores reference counts when "soft"-copying the messages
|
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<uint16_t> id = std::nullopt; /// region id
|
std::optional<uint16_t> id = std::nullopt; /// region id
|
||||||
uint32_t linger = 100; /// delay in ms before region destruction to collect outstanding events
|
uint32_t linger = 100; /// delay in ms before region destruction to collect outstanding events
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user