remove extra shared_ptr use from util::ThreadPool

This commit is contained in:
MihailRis
2024-10-24 11:49:06 +03:00
parent 7f0e12bb4e
commit 054b3926cd
6 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
static debug::Logger logger("chunks-render");
class RendererWorker : public util::Worker<Chunk, RendererResult> {
class RendererWorker : public util::Worker<std::shared_ptr<Chunk>, RendererResult> {
Level* level;
BlocksRenderer renderer;
public: