We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99bbb28 commit 267598aCopy full SHA for 267598a
src/common/classes/Spinlock.h
@@ -34,7 +34,7 @@ namespace Firebird {
34
// Compatible with std::lock_guard, std::scoped_lock and std::unique_lock.
35
class SpinLock
36
{
37
- std::atomic_flag atomicFlag = ATOMIC_FLAG_INIT;
+ std::atomic_flag atomicFlag{};
38
39
public:
40
void lock() noexcept
0 commit comments