mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix compiler warning
This commit is contained in:
parent
a3d3d8d33e
commit
98a09d9bdf
@ -54,7 +54,7 @@ private:
|
||||
T *first_available;
|
||||
|
||||
public:
|
||||
Pool<T>(int size) : nodes(size), first_available(nodes.data()) {
|
||||
Pool(int size) : nodes(size), first_available(nodes.data()) {
|
||||
for (int i = 0; i < size - 1; i++) this->nodes[i].next_available_in_pool = &this->nodes[i+1];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user