initialize SwitcherThread to nullptr

This commit is contained in:
WarmUpTill 2020-06-07 10:43:52 +02:00
parent 98c3131017
commit 513fe0728c

View File

@ -257,7 +257,7 @@ class SwitcherThread;
* SwitcherData * SwitcherData
********************************************************************************/ ********************************************************************************/
struct SwitcherData { struct SwitcherData {
SwitcherThread *th; SwitcherThread *th = nullptr;
condition_variable cv; condition_variable cv;
mutex m; mutex m;