- 
                Notifications
    You must be signed in to change notification settings 
- Fork 219
Description
clang complains about this line:
C:\vcpkg\installed\x86-windows-utc-default\include\cppkafka/utils/buffered_producer.h(664,39): error G7095654A: no matching constructor for initialization of 'std::atomic_flag' [clang-diagnostic-error]
mutable std::atomic_flag flag_{0};
^~~
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\atomic:2829:20: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'int' to 'const atomic_flag' for 1st argument
_EXPORT_STD struct atomic_flag { // flag with test-and-set semantics
^
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\atomic:2856:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr atomic_flag() noexcept = default;
^