summaryrefslogtreecommitdiffstats
path: root/src/ChunkGeneratorThread.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ChunkGeneratorThread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChunkGeneratorThread.cpp b/src/ChunkGeneratorThread.cpp
index b9c105d0b..a42c211ad 100644
--- a/src/ChunkGeneratorThread.cpp
+++ b/src/ChunkGeneratorThread.cpp
@@ -85,7 +85,7 @@ void cChunkGeneratorThread::QueueGenerateChunk(
{
LOGWARN("WARNING: Adding chunk %s to generation queue; Queue is too big! (%zu)", a_Coords.ToString().c_str(), m_Queue.size());
}
- m_Queue.push_back(QueueItem{a_Coords, a_ForceRegeneration, a_Callback});
+ m_Queue.emplace_back(a_Coords, a_ForceRegeneration, a_Callback);
}
m_Event.Set();