Skip to content

Commit

Permalink
Fix errant atomic member inits.
Browse files Browse the repository at this point in the history
  • Loading branch information
grafikrobot committed Aug 18, 2023
1 parent d3ca952 commit 78a3384
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/engine/pathnt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@

struct path_key_entry
{
std::atomic<OBJECT*> path = nullptr;
std::atomic<OBJECT*> key = nullptr;
std::atomic<bool> exists = false;
std::atomic<OBJECT*> path;
std::atomic<OBJECT*> key;
std::atomic<bool> exists;
inline path_key_entry() : path(nullptr), key(nullptr), exists(false) {}
inline ~path_key_entry()
{
Expand Down

0 comments on commit 78a3384

Please sign in to comment.