summaryrefslogtreecommitdiffstats
path: root/Tests/TestApp/include
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-02-17 04:53:09 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-02-17 04:53:09 +0000
commit3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af (patch)
treee79e66073cf84037846358f2c7f78d6ff11e4167 /Tests/TestApp/include
parentEnabled TestApp on iOS (diff)
downloadDiligentEngine-3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af.tar.gz
DiligentEngine-3f5044e8657c02b8bfa4f62f8b23a4e5ca61e0af.zip
Fixed few compiler warnings
Diffstat (limited to 'Tests/TestApp/include')
-rw-r--r--Tests/TestApp/include/SmartPointerTest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/TestApp/include/SmartPointerTest.h b/Tests/TestApp/include/SmartPointerTest.h
index a9e6b6d..1e22a7d 100644
--- a/Tests/TestApp/include/SmartPointerTest.h
+++ b/Tests/TestApp/include/SmartPointerTest.h
@@ -65,7 +65,7 @@ public:
std::vector<std::thread> m_Threads;
static void WorkerThreadFunc(SmartPointerTest *This, size_t ThreadNum);
- Object *m_pSharedObject;
+ Object *m_pSharedObject = nullptr;
void StartConcurrencyTest();
void RunConcurrencyTest();
void WaitForThreadStart(int VarId);
@@ -80,5 +80,5 @@ public:
#endif
std::mutex m_Mtx;
std::condition_variable m_CondVar;
- bool m_bThreadStart[2];
+ bool m_bThreadStart[2] = {false, false};
};