mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-12-11 19:43:58 +00:00
@@ -69,7 +69,9 @@ private:
|
||||
};
|
||||
|
||||
node* create_node(node* prev, node* next, const T& val) {
|
||||
node* n = new node(prev, next);
|
||||
node* n;
|
||||
x0_allocator.allocate(n, 1);
|
||||
new(n) node(prev, next);
|
||||
construct(n->get_value(), val);
|
||||
return n;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user