GitLab service scheduled maintenance on Friday, March 21st 2025 as of 08h00 Geneva time for an estimated period of 1 hour. Further information under OTG0154918.
A slight bug was found in the FileId.DefaultConstructor
test found in unit_tests/common/FileIdTests.cc
, given that the unit test failed on it implying that the default integer value was non-false (!= 0
). This was attributed to its initialization, since the underlying type is an unsigned long long
, whose default construction is implementation-dependent.
fid {}
is a C zero-allocate technique that was used to fix this issue, and the test passes with the slight modification.