Initialize mutex assertion variables (#1226)

This commit is contained in:
Adlai Holler 2018-11-08 13:07:46 -08:00 committed by GitHub
parent 4cfc333d81
commit 56e69eac78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"