mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
replace deque with array_queue in LightSolver
This commit is contained in:
parent
99f06c9625
commit
5c64d56766
2 changed files with 28 additions and 27 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <queue>
|
||||
#include "util/array_queue.hpp"
|
||||
|
||||
class Chunks;
|
||||
class ContentIndices;
|
||||
|
|
@ -14,8 +14,8 @@ struct lightentry {
|
|||
};
|
||||
|
||||
class LightSolver {
|
||||
std::queue<lightentry> addqueue;
|
||||
std::queue<lightentry> remqueue;
|
||||
util::array_queue<lightentry> addqueue;
|
||||
util::array_queue<lightentry> remqueue;
|
||||
const Block* const* blockDefs;
|
||||
Chunks& chunks;
|
||||
int channel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue