Skip to content

Commit

Permalink
Initialize mutex assertion variables (#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adlai-Holler committed Nov 8, 2018
1 parent 4cfc333 commit 56e69ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Details/ASThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ namespace ASDN {
std::recursive_mutex _recursive;
};
#if ASDISPLAYNODE_ASSERTIONS_ENABLED
std::thread::id _owner;
int _count;
std::thread::id _owner = std::thread::id();
int _count = 0;
#endif
};
#pragma clang diagnostic pop // ignored "-Wunguarded-availability"
Expand Down

0 comments on commit 56e69ea

Please sign in to comment.