diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-14 18:57:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 18:57:30 +0200 |
commit | 9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b (patch) | |
tree | 861b54c5b0fbd2dd98c5a0f6674e8abafe38b26e /src/ChunkGeneratorThread.cpp | |
parent | Introduce recipe book functionality (#4493) (diff) | |
download | cuberite-9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b.tar cuberite-9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b.tar.gz cuberite-9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b.tar.bz2 cuberite-9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b.tar.lz cuberite-9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b.tar.xz cuberite-9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b.tar.zst cuberite-9d277f1d10c1b2f929711795c85dc4ff7c3d8d3b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ChunkGeneratorThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ChunkGeneratorThread.cpp b/src/ChunkGeneratorThread.cpp index c87c1db21..cb68c6831 100644 --- a/src/ChunkGeneratorThread.cpp +++ b/src/ChunkGeneratorThread.cpp @@ -121,10 +121,10 @@ void cChunkGeneratorThread::WaitForQueueEmpty(void) -int cChunkGeneratorThread::GetQueueLength(void) const +size_t cChunkGeneratorThread::GetQueueLength(void) const { cCSLock Lock(m_CS); - return static_cast<int>(m_Queue.size()); + return m_Queue.size(); } |