Fix Windows build and warnings

This commit is contained in:
Romain Guy
2019-06-27 09:18:31 -07:00
parent 299a600377
commit 826d52bca2
9 changed files with 9 additions and 17 deletions

View File

@@ -306,7 +306,6 @@ void JobSystem::finish(Job* job) noexcept {
bool notify = false;
// terminate this job and notify its parent
auto& jobPool = mJobPool;
Job* const storage = mJobStorageBase;
do {
// std::memory_order_release here is needed to synchronize with JobSystem::wait()