From 4ecc424b84127142ededad212f092793637af315 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 24 Oct 2020 22:08:39 +0200 Subject: [PATCH] VoxelJob should be a inherited from Reference if ThreadPool is not available. --- world/jobs/voxel_job.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/world/jobs/voxel_job.h b/world/jobs/voxel_job.h index 96c3241..2c3be49 100644 --- a/world/jobs/voxel_job.h +++ b/world/jobs/voxel_job.h @@ -28,7 +28,7 @@ SOFTWARE. #if THREAD_POOL_PRESENT #include "../../../thread_pool/thread_pool_job.h" #else -#include "core/resource.h" +#include "core/reference.h" #endif #include "../../defines.h" @@ -43,8 +43,8 @@ class VoxelChunk; class VoxelJob : public ThreadPoolJob { GDCLASS(VoxelJob, ThreadPoolJob); #else -class VoxelJob : public Resource { - GDCLASS(VoxelJob, Resource); +class VoxelJob : public Reference { + GDCLASS(VoxelJob, Reference); #endif public: