diff --git a/Source/Details/ASThread.h b/Source/Details/ASThread.h index 80091abf3..d5896fd13 100644 --- a/Source/Details/ASThread.h +++ b/Source/Details/ASThread.h @@ -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"