mirror of
https://github.com/boostorg/log.git
synced 2026-02-03 09:12:19 +00:00
b1ad7ac7b34cb45dafd180ed428c8ca2c37b40a5
Refs #8730. The once_flag doesn't have initializer now when defined by the BOOST_LOG_ONCE_BLOCK macro. This is done in order to guarantee it is initialized at static initialization stage even on (theoretical) compilers that would not do so if the initializer is present. The BOOST_LOG_ONCE_BLOCK_FLAG macro has been fixed so that it actually uses the flag variable specified in its argument. The flag itself is now a single byte internally in order to minimize the chance of reading an inaccurate value at the fast path. The test robustness improved.
Description
Mirrored via gitea-mirror
Languages
C++
99%
CMake
1%