Fix CID 338449: Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member callsCnt is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member stopOnPonderhit is not initialized in this constructor nor in any functions that it calls. uninit_member: Non-static class member ponder._M_base is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
parent
6750c50f91
commit
b669434942
|
@ -147,9 +147,8 @@ struct MainThread : public Thread
|
|||
{
|
||||
using Thread::Thread;
|
||||
|
||||
int callsCnt;
|
||||
bool stopOnPonderhit;
|
||||
std::atomic_bool ponder;
|
||||
bool stopOnPonderhit { false };
|
||||
std::atomic_bool ponder { false };
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue