Skip to content

Commit 267598a

Browse files
committed
Misc
1 parent 99bbb28 commit 267598a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/classes/Spinlock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace Firebird {
3434
// Compatible with std::lock_guard, std::scoped_lock and std::unique_lock.
3535
class SpinLock
3636
{
37-
std::atomic_flag atomicFlag = ATOMIC_FLAG_INIT;
37+
std::atomic_flag atomicFlag{};
3838

3939
public:
4040
void lock() noexcept

0 commit comments

Comments
 (0)